yagoferrer / map-tools

map-tools.js is a Google Maps Feature-rich Javascript wrapper that makes things like: Marker filtering, asynchronous loading, working with TopoJSON or GeoJSON, animation and more. Much simpler with an easy-to-use API.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature: Remove Group feature and replace by tagging

yagoferrer opened this issue · comments

commented

When adding a Marker you can add a tag property that can be an string or an Array.

When updating Markers using map.updateMarker() you can pass the tag name as a filter {tags: 'tag'} and update Marker properties.

map.updateMarker({tags: 'cities', {visible: false});