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

addMarker return an instance of single marker even when the markers list is empty

hergert opened this issue · comments

commented
//should return an empty array when an empty list is the first arguments
addMarker([], options);