Smaller labels on Google Maps

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

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.