Google Maps API Tutorial

© 2006, 2007 Mike Williams

 

Using Tom Mangan's TLabel extension

Here's a very simple example of how to place labels on a map with TLabel.

In this case the labels are simply boxes with text in them. I've used a CSS class to specify the style of the <div>, to keep the code as simple as possible.

Full details on using TLabel can be found here: gmaps.tommangan.us/tlabel2.html

That page also includes links to pages where the label contents are more complicted structures built from nested <div>s, one of which contains the text and the other contains a small pointer image.

Back to Mike's Homepage
Up to the start of this tutorial