Packages

mapbox-gl

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

Your version

0.7.0

4 Mar 2015Where it was published

0.54.1 is the newest release of 0.7.x.

In short

3 breaking10 new4 fixed

  • breaking

    Rename Map hover event to mousemove.

  • breaking

    Change featuresAt to return GeoJSON objects, including geometry

  • breaking

    Remove Map canvas and container properties, add getCanvas and getContainer methods instead

Release note

Breaking

  • breaking

    Rename Map hover event to mousemove.

  • breaking

    Change featuresAt to return GeoJSON objects, including geometry

  • breaking

    Remove Map canvas and container properties, add getCanvas and getContainer methods instead

UX Improvements

  • Improve line label density

  • Add boxzoom interaction

  • Add keyboard interaction

  • Faster GeoJSONSource setData without flickering

API Improvements

  • Add Popup component

  • Add layer API

  • Add filter API

  • More efficient filter API

  • Accept plain old JS object for addSource

  • Reparse overscaled tiles

Bugfixes

  • Fix featuresAt for LineStrings

  • Fix tileSize argument to GeoJSON worker

  • Remove extraneous files from the npm package

  • Hide "improve map" link in print