google API V3我现在想在地图上增加一个文本标注(用于自定义线路时标记线路的名称用的),但是苦苦寻觅,苦苦挣扎仍无果。
V3里面没有了LabelMarker控件了,我现在要实现文字标注改如何实现?求大神帮忙。

解决方案 »

  1.   

    哎,这么久了没有人回应,着实让人有点心寒。不过我自己还是找到了解决办法。
    http://google-maps-utility-library-v3.googlecode.com/svn/trunk/maplabel/
    这个项目里有大神自定义的maplabel感谢这位大神的创作和分享。
    http://www.tdeting.co.nz/blog/2011/03/09/create-er-with-custom-labels-in-google-maps-api-v3/
    这个供参考,而且有拖动的事件。不过我要用的就不用这么复杂了。
      

  2.   

     http://www.tdeting.co.nz/blog/2011/03/09/create-er-with-custom-labels-in-google-maps-api-v3/