map点标记真机不显示
< map id = "myMap" markers = '{{markers}}' controls = '{{controls}}' scale = '10' latitude = '22.55' longitude = '114.05' show-location style = 'width:750rpx;height:500rpx;' /> |
var markers = [{ id:1, latitude: 22.55, longitude: 114.05, title: '深圳' , iconPath: '/images/location.png' , width: 30, height: 30 }]; that.setData({ markers: markers }) |
模拟器正常
真机不显示
请问怎么解决