Trouble using Leafletjs MarkerClusterGroup and filters with Mapbox
I've tried Mapbox and their API to create an interactive map. The purpose is to fetch points in a geojson file, and display them on the map. They have to be filtered by their marker-icon and grouped depending on the zoom applied. I had no trouble using the MarkerClusterGroup plugin with leaflet and Mapbox, but I can't get the filters to work. This is my code : https://gist.github.com/KuneStudio/5985864 And this is the content of my json with the points : https://gist.github.com/KuneStudio/5985858 The markers are displaying correctly, the cluster part too, but I can't get the filters to work...