var polyline = new BMap.Polyline([
new BMap.Point(121.490883, 30.914898),
new BMap.Point(121.351753, 30.887382),
new BMap.Point(121.316396, 30.881927),
new BMap.Point(121.264079, 30.89358),
new BMap.Point(121.222397, 30.892588)
], { strokeColor: "blue", strokeWeight: 2, strokeOpacity: 0.5 }); //創建折線
這是代碼 求解
應該是你的坐標不精確吧。。你應該將地圖放到最大後,按照最大的調整折線經緯度,這樣縮小不會出差錯。