Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to display a label next to a Marker for Google Maps?

Tags:

I would like to display a text label next to the markers on google maps. I've used Virtual Earth before and I'm just starting to use Google Maps. I tried setting the Title property but that only changes the roll over text.

Is there a way to display a small line of text underneath a marker that will stay there as the user zooms, pans and uses the map?

Thanks in advance!

like image 753
Great Turtle Avatar asked Jun 29 '09 02:06

Great Turtle


1 Answers

For Google Maps JavaScript API v3, check out the examples here.

Source code available in normal and minimised forms.

like image 88
Drew Noakes Avatar answered Oct 25 '22 12:10

Drew Noakes