Repository navigation
v3.0.0-alpha.28
Pre-release
Pre-release
Warning
This is an alpha release. APIs may change before the stable release. Not recommended for production use.
What's new
- [web] Add
GesturesSettings.scrollZoomEnabled,.boxZoomEnabled, and.pitchWithRotateEnabled(web only; no effect on Android/iOS). Behavior change:pinchToZoomEnabledno longer also controls mouse-wheel/trackpad zoom on web (usescrollZoomEnabled), andpitchEnabledno longer also controls whether ctrl+drag combines rotate with pitch (usepitchWithRotateEnabled). - [Android] Render the map into a
SurfaceViewby default instead of aTextureView, avoiding the per-frame copy aTextureViewrequires. SetMapWidget.textureViewtotruefor a transparent background (isOpaque: false) and for theVDandTLHC_VDhosting modes, which cannot display aSurfaceView.
Bug fixes
- Fix
rgb,hsl, andhslastyle-color expressions decoding incorrectly:rgbcolors rendered nearly fully transparent, andhsl/hslacolors used the wrong saturation/lightness scale and alpha, producing wrong or (in debug builds) crashing results.rgbaexpressions were not affected.
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.