Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Add numbering label to google map marker

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.

like image 551
davidlee Avatar asked Aug 25 '10 02:08

davidlee


People also ask

Can you label points on Google Maps?

Search for an address. Or drop a pin by tapping and holding a place on the map. At the bottom, tap the name of the place. Tap Label.

How do I add text labels to Google Maps?

Enter a label into the text field. Click the Add a label field on the top-left corner, type in the label you want to add, and hit ↵ Enter or ⏎ Return on your keyboard. This will save your new location label to your Google account.


1 Answers

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://github.com/nmccready/google-maps-utility-library-v3-infobox

like image 161
skarE Avatar answered Sep 28 '22 10:09

skarE