收藏
回答

mpvue 内使用 map polyline无法连接线路

框架类型 问题类型 终端类型 微信版本 基础库版本
小程序 Bug 客户端 V7.0.3 1.02.1902010

已知在原生小程序可以实现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

}

]


回答关注问题邀请回答
收藏

1 个回答

登录 后发表内容