Click here to Skip to main content
15,949,741 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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
Posted

1 solution

http://chart.apis.google.com/chart?chst=d_map_pin_letter&chld=number|ff776b[^]

C#
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
  });
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900