We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
首先感谢作者的付出,这几天试了一下感觉很实用。 只是高德地图功能升级后(仅限最近注册的KEY)无法显示标注点和行程了。对1.2.7版摸索了一番后,将第268-270行修改成: if (result.info === 'ok') { that._showMarker(result.locations[0],entity,color,type); } else { console.info("%c 地图加载异常:%o", "color: white; font-weight: bold; background: dimgray",result); } 后得到高德地图返回“NVALID_USER_SCODE” 异常信息,通过查看高德API的“JSAPI key和安全密钥的使用”说明,我使用了第二个方法,在第4行追加下列代码后可以正常使用: window._AMapSecurityConfig = { securityJsCode:'您申请的安全密钥', }
if (result.info === 'ok') { that._showMarker(result.locations[0],entity,color,type); } else { console.info("%c 地图加载异常:%o", "color: white; font-weight: bold; background: dimgray",result); }
window._AMapSecurityConfig = { securityJsCode:'您申请的安全密钥', }
The text was updated successfully, but these errors were encountered:
谢谢大佬!!!我最近也在搞这个,才发现作者好久没更新了,没啥编程基础,应该怎样快捷的修改这些代码啊?
Sorry, something went wrong.
修改了js代码,不生效,是什么情况
插眼,谢谢大佬付出
No branches or pull requests
首先感谢作者的付出,这几天试了一下感觉很实用。
只是高德地图功能升级后(仅限最近注册的KEY)无法显示标注点和行程了。对1.2.7版摸索了一番后,将第268-270行修改成:
if (result.info === 'ok') { that._showMarker(result.locations[0],entity,color,type); } else { console.info("%c 地图加载异常:%o", "color: white; font-weight: bold; background: dimgray",result); }
后得到高德地图返回“NVALID_USER_SCODE” 异常信息,通过查看高德API的“JSAPI key和安全密钥的使用”说明,我使用了第二个方法,在第4行追加下列代码后可以正常使用:
window._AMapSecurityConfig = { securityJsCode:'您申请的安全密钥', }
The text was updated successfully, but these errors were encountered: