Mapbox.js is no longer in active development. To learn more about our newer mapping tools see Mapbox GL JS.
Filter by marker type
Using setFilter, lookup the type of marker to be displayed on a map.
Get a free Mapbox account to create your own custom map and use it in this example.