map组件属性渲染的问题
发布于 5 年前 作者 dqiu 12242 次浏览 来自 官方Issues

https://developers.weixin.qq.com/miniprogram/dev/component/map.html

将markers、polyline在js的setting字典中进行设置,并将{{settings}}绑定<map>属性

使用setData更新setting中的markers、polyline后

开发工具端地图上可以正常显示数据,实机(iphoneX)中不能显示

将markers、polyline等属性在<map>中标签中通过{{}}绑定后正常显示

1 回复

你好,麻烦提供出现问题的具体机型、微信版本号、系统版本号,以及能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html

回到顶部