Mapbox GL JS v3 enables the Mapbox Standard Style, a new realistic 3D lighting system, building shadows and many other visual enhancements, and an ergonomic API for using a new kind of rich, evolving, configurable map styles and seamless integration with custom data. You can get more information about the new features in the Mapbox GL JS v3 migration guide. Changes since v3.0.0-beta.4:
renderstart event, which combined with render event can be used to measure rendering frame duration.setData to animate 3D models.hillshade-illumination-direction to align with light direction if hillshade-illumination-anchor is not set to viewport.fragment: false not to be loaded as basemap imports.map hasImage and updateImage after the map was removed.Fetched May 1, 2026