网上很多是uniapp 的bug 是这样吗,有什么方案可以解决吗
data() {
return {
title: 'map',
latitude: 39.909,
longitude: 116.39742,
markers: [{
title:'我在哪,我在哪',
latitude: 39.9085,
longitude: 116.39747,
iconPath: '../../static/location@3x.png',
label:{
content:'文本1',
color:'#F76350',
bgColor:'#fff',
padding:5,
borderRadius:4
},
callout:{
content:'广州啊',
color:'#F76350',
fontSize:12
}
}, {
latitude: 39.90,
longitude: 116.39,
iconPath: '../../static/location@3x.png',
title:'故宫',
label:{
content:'文本2',
color:'#F76350',
bgColor:'#fff',
padding:5,
borderRadius:4
},
callout:{
content:'北京啊',
color:'#F76350',
fontSize:12
}
}],
polyline:[
{
'points':[{latitude: 39.9085, longitude: 116.39747},{latitude: 39.90, longitude: 116.39},{latitude: 39.901424, longitude: 116.39555}],
color:'#a12565 ',
width:3
}],
polygons:[
{
'points':[{latitude: 39.55555, longitude: 116.39747},{latitude: 39.77777, longitude: 116.39},{latitude: 39.901424, longitude: 116.39555}],
fillColor:'#a12565 ',
}],
}
},
methods: {
}
3 个回复
删除这个账号 - IT
官方demo也不显示,一直没修复
zhaoyaqing
楼主解决了嘛,我的也不显示
tongcy
楼主解决了吗