❤ 高德地图报错 AMap.ElasticMarker is not a constructor
❤ 原因:未定义高德的插件
❤ 解决:出现这个报错可以添加 AMap.plugin(“AMap.Geocoder”,function(){})
【tip】出现 xxx is not a constructor
添加上对应的插件即可,注意版本,默认1.4,很多插件V2版本才能用 添加 AMap.plugin(“AMap.Geocoder”,function(){})
精彩内容
评论可见,请评论后查看内容,谢谢!!!
发表评论