github maplibre/maplibre-gl-js v6.0.0-2

pre-release8 hours ago

✨ Features and improvements

  • ⚠️ WebGL (v1) support has been removed; WebGL2 is now required.
    In practical terms, this will not change how you interact with the map.
    This enables performance improvements (e.g. line opacity), Terrain3D enhancements, and several bug fixes.
    WebGL2 support has been widely available for years, and usage of the legacy path had plateaued, so maintaining it no longer justified the added complexity.
    To ease this breaking change, we have also refactored how we handle the case that no webgl is avaliableWebGL (e.g. due to browser restrictions).
    You can now listen to the webgl error via .on("error"), or by overriding Map._showWebGL2Error.
    See caniuse.com/webgl2 for ecosystem support and our RFC for details. (#7453) (by @CommanderStorm)

Don't miss a new maplibre-gl-js release

NewReleases is sending notifications on new releases.