魑魅魍魉9527

android技术交流、资料整理

百度地图api(微信小程序) TypeError: markers[j] is not a function

错误位置
这里写图片描述

“`
TypeError:markers[j] 不是一个函数

thirdScriptError
markers[j] is not a function;at pages/maps/maps page changeMarkerColor function
TypeError: markers[j] is not a function
at e.changeMarkerColor (http://127.0.0.1:57088/appservice/pages/maps/maps.js:75:17)
at e. (dev/WAService.js:18:4907”>http://127.0.0.1:57088/appservice/dev/WAService.js:18:4907)
at e.makertap (http://127.0.0.1:57088/appservice/pages/maps/maps.js:20:10)
at e. (dev/WAService.js:18:4907”>http://127.0.0.1:57088/appservice/dev/WAService.js:18:4907)
at e.a (dev/WAService.js:17:31002”>http://127.0.0.1:57088/appservice/dev/WAService.js:17:31002)
at z (dev/WAService.js:17:24941”>http://127.0.0.1:57088/appservice/dev/WAService.js:17:24941)
at Function.

解决方法
markers[j]=data[j];

这里写图片描述

阅读更多
版权声明:未经博主允许不得转载。 https://blog.csdn.net/qq_28934205/article/details/80347653
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页

不良信息举报

百度地图api(微信小程序) TypeError: markers[j] is not a function

最多只允许输入30个字

加入CSDN,享受更精准的内容推荐,与500万程序员共同成长!
关闭
关闭