2

How in-sync is the MapBox flavour of Leaflet with the open source version?

I'm concerned that if I got with the MapBox sku, I'll be locking myself into a non-standard version, so things like ... are worrying me

  • if there is a new feature in Leaflet, how soon does it appear in MapBox ... assuming it does?

  • do plugin's work with both flavours?

1 Answer 1

2

Mapbox.js extends Leaflet, which means that it includes all of Leaflet, plus a few extras like L.mapbox.featureLayer and L.mapbox.geocoder that make handling GeoJSON more convenient and add an interface to the Mapbox Geocoding API, respectively (there are more L.mapbox methods that you can read about on the API documentation page and you can check out release notes on GitHub). Because it includes all of Leaflet, Mapbox.js works with Leaflet plugins. Updates happen fairly quickly after an official Leaflet release (the primary maintainer of the Leaflet project works at Mapbox). Note that Mapbox.js tracks with official Leaflet releases, so Leaflet 1.0 won't be incorporated until it is out of beta.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.