Repository navigation
v3.0.0-alpha.27
Pre-releaseWarning
This is an alpha release. APIs may change before the stable release. Not recommended for production use.
Important
On web, Mapbox GL JS is now loaded automatically: the plugin injects the <script>/<link> tags for the GL JS version it pins (v3.27.0) into the page on first map use. Remove the mapbox-gl.js and mapbox-gl.css tags from your app's web/index.html — a mapboxgl global that is already on the page is reused as-is, so a manually pinned copy silently overrides the version the SDK expects.
If your app enforces a Content-Security-Policy, it must allow script and style sources from api.mapbox.com.
What's new
- [Android] Change the default platform-view hosting mode to Hybrid Composition (
AndroidPlatformViewHostingMode.HC); it was previously Virtual Display. SetMapWidget.androidHostingModeexplicitly to keep the old behavior.
Bug fixes
- [web] Fix Flutter widgets stacked over the map on web not blocking clicks/taps, scroll-zoom, and cursor styling from reaching Mapbox GL JS underneath. The map now respects any Flutter widgets painted on top of it.
Platform API coverage
Web support is actively being developed. Not all APIs available on iOS and Android are supported on web yet — full parity is coming in future releases. APIs that are not available on a given platform will throw UnimplementedError at runtime.