Polyline谷歌地图V3中的文本 [英] Text Within Polyline Google Maps V3

查看:102
本文介绍了Polyline谷歌地图V3中的文本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



现在我浏览了 PolylineOptions API参考和 Polyline ,但我看不到任何实现这一点的要点。我真的希望这是可能的,我不会一起破解一些东西。

at,描述如何将标签添加到多段线:

http://duncan99.wordpress.com/2013/02/28/google-maps-api-polylines-and-events/


I need to be able to put text within my polyline like the embedded Google Maps does as you can see from the below screenshot...

Now I have looked through the PolylineOptions API Reference and the Polyline but I can't see anything the points to achieving this. I really hope this is possible and I'm not going to have to hack something together.

解决方案

Here is a Post Worth look at, Describing how to add labels to polylines:

http://duncan99.wordpress.com/2013/02/28/google-maps-api-polylines-and-events/

这篇关于Polyline谷歌地图V3中的文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆