cutting-room-floor / markers.js

DEPRECATED: USE MAPBOX.JS
http://mapbox.com/mapbox.js
BSD 3-Clause "New" or "Revised" License
18 stars 9 forks source link

Support filtering #28

Closed tmcw closed 11 years ago

tmcw commented 11 years ago

Although you can technically do this by just using _.filter() with the points array, it's annoying to do this since it's not repeatable.

ansis commented 11 years ago

Would it be a good idea to store the features that have been filtered out, so that they get added if they match a new filter?

tmcw commented 11 years ago

This is a cosmetic operation, it doesn't change the underlying features - see the tests in which new filters show previously hidden features.

ansis commented 11 years ago

Ah, I misread. Awesome