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

Allow to work with multiple tags

yagoferrer opened this issue · comments

commented

Since tags seem to be super useful I'm going to implement a better API to use and work with multiple tags.

Current syntax:

map.findMarker({tags: 'myTag'})

AND syntax:

map.findMarker({
tags: ['myTag1', 'myTag2']
})

OR syntax:

map.findMarker([

{tags: {'myTag1'},

{tags: 'myTag2'}
])