<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
}
请根据文档排查一下问题,若还有问题,麻烦提供能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)