Packages

mapbox-gl

3.34.2 · 3 Nov 2026SEE LICENSE IN LICENSE.txt6M / weekRepositoryHomepagenpmAtom feed

Upgrading mapbox-gl From 0.9.0 to 0.10.0

1 release in betweenevery note read

Other targets from 0.9.0Newest 0.x0.54.1Latest3.34.2
  1. 0.9.0yours
  2. 0.10.0target

Start here

Before you upgrade

Tick each one off as you go
  • breaking0.10.0
  • breaking0.10.0
  • breaking0.10.0
  • breaking0.10.0
  • breaking0.10.0
  • breaking0.10.0
  • breaking0.10.0

Release by release

  1. 0.10.0

    Migration needed21 Aug 20152 new · 2 fixes
    • breaking

      Switched to [longitude, latitude] coordinate order, matching GeoJSON. We anticipate that mapbox-gl-js will be widely used with GeoJSON, and in the long term having a coordinate order that is consistent with GeoJSON will lead to less confusion and impedance mismatch than will a [latitude, longitude] order.

    • breaking

      Updated to mapbox-gl-style-spec v8.0.0 (Changelog). Styles are now expected to be version 8. You can use the gl-style-migrate utility to update existing styles.

    • breaking

      The format for mapbox:// style and glyphs URLs has changed. For style URLs, you should now use the format mapbox://styles/:username/:style. The :style portion of the URL no longer contains a username. For font URLs, you should now use the format mapbox://fonts/:username/{fontstack}/{range}.pbf.

    • breaking

      Mapbox default styles are now hosted via the Styles API rather than mapbox.com. You can make use of the Styles API with a mapbox:// style URL pointing to a v8 style, e.g. mapbox://styles/mapbox/streets-v8.