我在项目中使用了谷歌地图多段线作为路线(例如,http://rutasgdl.com/rutas/626-2),我想在路线上添加方向箭头。我希望得到类似于这个(不幸的是,它是针对Google Maps V2的):http://wtp2.appspot.com/ArrowLine.htm
你能指点我如何实现吗?谢谢。
我在项目中使用了谷歌地图多段线作为路线(例如,http://rutasgdl.com/rutas/626-2),我想在路线上添加方向箭头。我希望得到类似于这个(不幸的是,它是针对Google Maps V2的):http://wtp2.appspot.com/ArrowLine.htm
你能指点我如何实现吗?谢谢。
strokeColor:this.color,
strokeOpacity:this.opacity,
strokeWeight:this.weight,
应该改为:strokeColor:this.headColor,
strokeOpacity:this.headOpacity,
strokeWeight:this.headWeight,
- Jorrit Schippers