谷歌地图标记与数字
问题描述:
嗨...
我正在使用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
});