Legacy
Mapbox.js is no longer in active development. To learn more about our newer mapping tools see Mapbox GL JS.
version
A constant that represents the Leaflet version in use.
L.version // returns "0.5" (or whatever version is currently in use)