wx.createMapContext(mapId)方法报错
发布于 5 年前 作者 leiyan 3360 次浏览 来自 问答

使用

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

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

1 回复
回到顶部