NetManiac

Witold Rugowski on web20 wave with Ruby on Rails

Smaller labels on Google Maps

Posted on May 24, 2007 - Filed Under Google Maps, JavaScript

I’m using TLabel library to support more compact and handy labels on map in RNS application. It works very well, buthen You add labels on map with many other elements (markers, polygons) You may noticed label is below markers.

This makes labels hard readable. This is caused by default level on which are they attached to map. If You want to display them over everything else (except info window), change in tlabel.js constant G_MAP_MAP_PANE to G_MAP_FLOAT_PANE in TLabel.prototype.initialize and in removeTLabel

Popularity: 5% [?]

Hits for this post: 1978

Similar Posts

Comments

Leave a Reply