The previously used v3 API is deprecated. This switches Leaflet.MakiMarkers to use the newer v4 API. Unfortunately v4 requires a valid Mapbox API token with every request. Version 2.0.0 of Leaflet.MakiMarkers allows the developer to specify an accessToken via L.MakiMarkers.accessToken or with each icon as part of the config object in the L.MakiMarkers.icon(confg) constructor.
The previously used v3 API is deprecated. This switches Leaflet.MakiMarkers to use the newer v4 API. Unfortunately v4 requires a valid Mapbox API token with every request. Version 2.0.0 of Leaflet.MakiMarkers allows the developer to specify an accessToken via
L.MakiMarkers.accessToken
or with each icon as part of the config object in theL.MakiMarkers.icon(confg)
constructor.