qq_22782705
2015-04-10 01:51
采纳率: 0%
浏览 2.0k

调用百度地图API绘制覆盖物,地图扩大折线就偏离了。

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 });   //创建折线

这是代码 求解

1条回答 默认 最新

相关推荐 更多相似问题