map组件通过mapContext.includePoints设置padding在真机调试中无效
<!-- wxml -->
<map id="myMap" style="width:95%;height: 600rpx;" include-points="{{true}}" markers='{{markers}}'
latitude="{{latitude}}" longitude="{{longitude}}">
</map>
<!-- js -->
const mapContext = wx.createMapContext('myMap');
mapContext.includePoints({
padding: [100],
points: this.data.markers.map(marker => ({
longitude: marker.longitude,
latitude: marker.latitude
}))
});
问题解决了吗?