已知在原生小程序可以实现mpVue下无法连接。
<map
id="myMap"
scale="14"
longitude="108.89244"
latitude="34.195895"
:polyline="polyline"
show-location
></map>
polyline: [
{
points: [
{
latitude: 34.195895,
longitude: 108.89244
},
{
latitude: 34.2298998476,
longitude: 108.9466953278
}
],
color: "#000000",
width: 5
},
{
points: [
{
latitude: 34.2298998476,
longitude: 108.9466953278
},
{
latitude: 34.2759426987,
longitude: 108.9617156982
}
],
color: "#000000",
width: 5
}
]
mpvue https://github.com/Meituan-Dianping/mpvue/issues