Skip to content

v3.0.0-alpha.29

Pre-release
Pre-release

Choose a tag to compare

@O-Hannonen O-Hannonen released this 21 Aug 12:39
· 123 commits to main since this release

Warning

This is an alpha release. APIs may change before the stable release. Not recommended for production use.

What's new ✨

  • Add LineLayer.lineBorderGradient and .lineBorderGradientExpression to color a line's border along its length with a gradient driven by line-progress. Requires a GeoJSON source with lineMetrics: true.
  • RenderedQueryGeometry is now a sealed class hierarchy (ScreenCoordinateRenderedQueryGeometry, ScreenBoxRenderedQueryGeometry, ScreenCoordinateListRenderedQueryGeometry) instead of an untyped {value, type} pair. Construct it the same way as before, via fromScreenCoordinate()/fromScreenBox()/fromList(). Use pattern matching on the subclasses to inspect it instead of the now-deprecated, read-only value/type accessors.

Bug fixes 🐞

  • Fix an uncatchable crash in MapWidget when the platform view is created before layout completes, on iOS (always) and Android's HC hosting mode (the default) (#1141).
  • [web] Fix queryRenderedFeatures querying the whole viewport for an empty fromList([]); it now matches no features, in line with mobile.

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.

Dependency Updates

  • Update Mapbox Maps SDK to v11.29.0
    • For platform-specific updates see: iOS & Android
  • Update GL JS to v3.29.0