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: map.resetMarker()

yagoferrer opened this issue · comments

commented

It should allow to reset the initial properties of the Marker by calling this function:

map.resetMarker([marker], 'icon');
[marker] can be UID, Array of Markers or tag filter.