v3.0.0-alpha.29
Pre-release
Pre-release
·
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.lineBorderGradientand.lineBorderGradientExpressionto color a line's border along its length with a gradient driven byline-progress. Requires a GeoJSON source withlineMetrics: true. RenderedQueryGeometryis now a sealed class hierarchy (ScreenCoordinateRenderedQueryGeometry,ScreenBoxRenderedQueryGeometry,ScreenCoordinateListRenderedQueryGeometry) instead of an untyped{value, type}pair. Construct it the same way as before, viafromScreenCoordinate()/fromScreenBox()/fromList(). Use pattern matching on the subclasses to inspect it instead of the now-deprecated, read-onlyvalue/typeaccessors.
Bug fixes 🐞
- Fix an uncatchable crash in
MapWidgetwhen the platform view is created before layout completes, on iOS (always) and Android'sHChosting mode (the default) (#1141). - [web] Fix
queryRenderedFeaturesquerying the whole viewport for an emptyfromList([]); 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.