Google地图错误:Uncaught InvalidValueError:setIcon:不是字符串;并没有网址属性;并没有路径属性 [英] Google Maps Error: Uncaught InvalidValueError: setIcon: not a string; and no url property; and no path property
问题描述
未捕获InvalidValueError:setIcon:不是字符串;并没有网址属性;并没有路径属性
我几个月没有更改任何代码。
错误发生在此页面上:
http://gusmodern.com/pages/store-locator
有没有人遇到过这个?
我更新了特定版本参考 https://maps.googleapis.com/maps/api/js?v=3&sensor=true ,错误消失了。我在多个地理位置网站和移动应用中都使用了此功能。
I just started getting this error today for Google Maps:
Uncaught InvalidValueError: setIcon: not a string; and no url property; and no path property
I haven't changed any code in months.
The error is happening on this page: http://gusmodern.com/pages/store-locator
Has anyone come across this before?
I updated to the specific version reference https://maps.googleapis.com/maps/api/js?v=3&sensor=true and the error went away. I had this across multiple of my geolocation websites and mobile apps.
这篇关于Google地图错误:Uncaught InvalidValueError:setIcon:不是字符串;并没有网址属性;并没有路径属性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!