Thursday, August 06, 2015

Google Maps Marker Labels


Google has added a rare new feature to its JavaScript Google Maps API. The new Marker Labels allow you to label markers with a letter, a single digit number or any other character.

You can use the feature to add Marker Labels to both the in-built markers and custom marker icons. You can also define the color of the text used in the marker. You can find out more in the developer's guide and the API reference.


The new Marker Feature won't set the world of mapping alight but it is a neat way to programatically differentiate between your markers on the map. You could also use Marker Labels to visually connect map markers and content in a map side-bar, like in this example map.

No comments:

Post a Comment