怎么设置map组件show-location的经纬度?

发布于 5 年前作者 juanhe14204 次浏览最后编辑 5 年前来自 issues

通过map组件的show-location展示当前位置时,发现与自己实际位置不符,因此使用wx.getLocation获取位置,type已设置为gcj02。使用maker组件展示获取到的坐标时,与实际位置相符,而show-location则与该maker有一定差距。

1 回复
nma
nma1 楼3 年前

试试看这个方法bindregionchange