views:

42

answers:

2

May I know how to add numbering label to google map marker using google map api? Just add label, not trying to change the icon. Thank you.

A: 

Check out the example at http://www.geocodezip.com/basic8j.asp?filename=example_number.xml (for V2 of the API). There was also a question here about something similar - http://stackoverflow.com/questions/2436484/how-can-i-create-numbered-map-markers-in-google-maps-v3.

Sonia
A: 

If you don't want to use custom icons for each marker then I suggest looking into creating a label class with the OverlayView and then binding the position to the marker.

Or you could look at using something like: http://google-maps-utility-library-v3.googlecode.com/svn/trunk/infobox/examples/infobox-label.html

skarE