<map id="myMap" style="width: 100%; height: 300px;" latitude="{{latitude}}" longitude="{{longitude}}" polygon="{{polygon}}"></map>
polygon: {
points: [{
latitude: 22.974480,
longitude: 113.014598
}, {
latitude: 22.974485,
longitude: 113.015944
}, {
latitude: 22.973947,
longitude: 113.016014
}, {
latitude: 22.973868,
longitude: 113.014614
}],
fillColor: "#FF0000DD",
strokeColor: "#FF0000DD",
strokeWidth: 2,
zIndex: 10
}
O(∩_∩)O哈哈~ 就是少一个s
我也遇到了同样的问题,您是怎么解决的?
请根据文档排查一下问题,若还有问题,麻烦提供能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)