2 回复
<map id="addressMap" include-points="{{markers}}" bindregionchange="regionchange" enable-zoom="{{true}}"
polyline="{{polyline}}" markers="{{markers}}" longitude="{{longitude}}" latitude="{{latitude}}" scale='14' style="position:relative;width:100%;height:200px">
wx.createMapContext('addressMap').includePoints({
padding: [50, 50, 50, 50],
points: markers
})