wx.createMapContext(mapId)方法报错

发布于 7 年前作者 leiyan3569 次浏览最后编辑 6 年前来自 ask

使用

this.mapCtx = wx.createMapContext(‘myMap’)

再使用__mapContext__下的方法translateMarker
显示this.mapCtx.translateMarker is not a function其他几个方法moveToLocation、getCenterLocation可以用includePoints和translateMarker 报错,我照着官方api例子做的,报错,求解决

1 回复
chaoyin
chaoyin1 楼5 年前

同问