Google地图错误:Uncaught InvalidValueError:setIcon:不是字符串;并没有网址属性;并没有路径属性 [英] Google Maps Error: Uncaught InvalidValueError: setIcon: not a string; and no url property; and no path property

查看:491
本文介绍了Google地图错误:Uncaught InvalidValueError:setIcon:不是字符串;并没有网址属性;并没有路径属性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

未捕获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屋!

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