You are viewing an older version of Mapbox.js. Check out v3.3.1 for the latest.


A core icon generator used in

Options Value Description
feature object A GeoJSON feature object


A L.Icon object with custom settings for iconUrl, iconSize, iconAnchor, and popupAnchor.

A working example of L.mapbox.marker.icon in use