GMLib由于错误80020101(v1.5.3)而无法完成操作 [英] GMLib Could not complete the operation due to error 80020101 (v1.5.3)

查看:780
本文介绍了GMLib由于错误80020101(v1.5.3)而无法完成操作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个使用GMLIB的最新版本(v1.5.3)的应用程序。从今天开始,当我在地图上放置一个对象时,地图现在会生成上述通用错误。我的应用程序没有改变。我还测试了提供的GMLIB MegaDemo,并且在启动映射时产生相同的错误 - 以前没有错误。我使用XE7并安装了IE11。



几年前出现同样的错误,Catedill发布了一个更新来修复。



以下是发生错误时通过的函数和参数:



'MakeMarker'
'2,false,false,true, false,false,true,35.7519302368164,-121.285972595215,true,''001:SAMPLE'',true,'''',0,''',false,0,0,0,true,''mtStyledMarker' ,siBubble,#0000FF,#FFFFFF,#00FF00,false,false,true



否则只是开始得到这个错误?

解决方案

而不是使用您自己的Google实用程序脚本的开发副本,我建议更改您的.\resources\map.html中的网址来自:

  http:// google-maps-utility-library -v3.googlecode.com/svn/trunk/styledmarker/src/StyledMarker.js 

到以下cdn源库的前缀版本:

  https://cdn.rawgit.com/googlemaps/v3-utility-library/master /styledmarker/src/StyledMarker.js 

在生产中,您应该使用cdn版本的脚本,因为它具有没有流量限制或限制,并且文件通过超快的全球CDN服务。不过请注意,作为免费服务,它提供无正常运行时间或支持保证



访问从Git托管的文件在以下SO答案:



链接并执行GitHub上托管的外部JavaScript文件



如果您仍然希望使用自己的副本,基于同样的原因,我建议您使用您的cdn副本:

  https://cdn.rawgit.com/cadetill/gmlib_v1/master/Resources/StyledMarker.js 


I have an application using the latest version (v1.5.3) of GMLIB. Starting today, the map now generates the above generic error when I place an object on the map. My application has not changed. I also tested the GMLIB MegaDemo that was provided and the same error is generated when starting the map - previously there was no error. I am using XE7 and have IE11 installed.

It appears the same error occurred several years ago and Catedill released an update to fix.

Below is the function and parameter I pass when the error occurs:

'MakeMarker' '2,false,false,true,false,false,true,35.7519302368164,-121.285972595215,true,''001: SAMPLE'',true,'''',0,'''',false,0,0,0,true,''mtStyledMarker'',''siBubble'',''#0000FF'',''#FFFFFF'',''#00FF00'',false,false,true'

Anyone else just start getting this error?

解决方案

Rather than using your own development copy of the Google utility script, I'd recommend changing the url in your .\resources\map.html from:

http://google-maps-utility-library-v3.googlecode.com/svn/trunk/styledmarker/src/StyledMarker.js

to the following cdn prefixed version of the source library:

https://cdn.rawgit.com/googlemaps/v3-utility-library/master/styledmarker/src/StyledMarker.js

In production, you really should be using the cdn version of the script as it has no traffic limits or throttling and the files are served via a super fast global CDN. However please bear in mind that, as a free service, it offers no uptime or support guarantees.

Accessing files hosted from Git is covered in more detail in the following SO answer:

Link and execute external JavaScript file hosted on GitHub

If you'd still prefer to use your own copy, for the same reasons I'd suggest using your cdn copy:

https://cdn.rawgit.com/cadetill/gmlib_v1/master/Resources/StyledMarker.js

这篇关于GMLib由于错误80020101(v1.5.3)而无法完成操作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆