You are viewing an older version of Mapbox.js. Check out v3.0.1 for the latest., latlng)

An icon generator for use in conjunction with pointToLayer to generate markers from the Mapbox Markers API and support the simplestyle-spec for features.

Options Value Description
feature object A GeoJSON feature object
latlng object The latitude, longitude position of the marker


L.geoJson(geoJson, {


A L.Marker object with the latitude, longitude position and a styled marker

The other sections of the simplestyle-spec are implemented by