收藏
回答

map 组件 画不出ploygon?

<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


}


回答关注问题邀请回答
收藏

4 个回答

登录 后发表内容
问题标签