tags:

views:

4419

answers:

2

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!

+3  A: 

There's a good label class here, though you'll have to add it alongside the markers.

Chris B
This guy has some good stuff :)
Cannonade
The ELabel class you pointed me to works pretty well. Amazing Google Maps site btw, don't know how I didn't find it in my original searches. Thanks!
Great Turtle
That's handy, though it doesn't work with v3 of the Google Maps JavaScript API. Also, if you zoom out far enough, then the labels overlap into an unreadable soup. Still, the best offering I've found so far.
Drew Noakes
A: 

For Google Maps JavaScript API v3, check out these examples.

Source code available in normal and minimised forms.

Drew Noakes