Additional changes to review2 matched termsMatched wording:removedmigration guideThese matches may be harmless in context. Expand to see the excerpts.
- The changelog contains “removed”; check what was removed.
Fix an error on
maphasImageandupdateImageafter the map was removed. - The changelog points readers to a migration guide.
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.
Breaking changes ⚠️
- Discontinue WebGL 1 support. WebGL 2 is now mandatory for GL JS v3 usage, aligned with universal browser support.
- Remove the
optimizeForTerrainmap option (layer rendering on globe and terrain is always optimized now).
Features and improvements ✨
3D Lights
- Introduced a new 3D Lights API that supports directional and ambient light sources to give you control of lighting and shadows in your map when using 3D objects.
- Add new
*-emissive-strengthproperties for styling layers with the new lighting API.