谷歌地图标记与数字 [英] google map markers with numbers
本文介绍了谷歌地图标记与数字的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨...
我正在使用Google地图显示一些地址.我需要标记与数字在一起.我该如何实现呢?
在此先感谢
Hi...
I am using Google map to display some addresses. i need markers to be with numbers. How can i acheive it.
Thanks in advance
推荐答案
^ ]
http://chart.apis.google.com/chart?chst=d_map_pin_letter&chld=number|ff776b[^]
var image=http://chart.apis.google.com/chart?chst=d_map_pin_letter&chld=number|ff776b;
In this url in place of "number" you can place digits,
var myLatLng = new google.maps.LatLng(17.32125, 82.040713699);
var marker = new google.maps.Marker({
position: myLatLng,
map: map,
icon: image
});
这篇关于谷歌地图标记与数字的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文