收藏
回答

map组件的polylines显示不出来怎么办?

<map id="satelliteMap" class="full-map" :latitude="latitude" :longitude="longitude" :scale="18"

:enable-satellite="true" :enable-3D="false" :enable-rotate="true" :enable-overlooking="false"

:show-location="true" :polylines="polylines" :markers="markers" @regionchange="onRegionChange">

</map>



const circlePolyline = {

id: 999, // 建议给个不重复的 ID

points: circlePoints,

color: "#FFCD1E", // 亮黄色

width: 4,

dottedLine: false,

zIndex: 100

};

this.polylines = [circlePolyline];
circlePoints有60个点数据,且经纬度都正确,就是展示不出来,求助



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

1 个回答

  • 智能回答 智能回答 本次回答由AI生成
    02-06
    有用 1
    回复
登录 后发表内容