Skip to content

v3.0.0-alpha.28

Pre-release
Pre-release

Choose a tag to compare

@evil159 evil159 released this 07 Aug 14:33
· 328 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

  • [web] Add GesturesSettings.scrollZoomEnabled, .boxZoomEnabled, and .pitchWithRotateEnabled (web only; no effect on Android/iOS). Behavior change: pinchToZoomEnabled no longer also controls mouse-wheel/trackpad zoom on web (use scrollZoomEnabled), and pitchEnabled no longer also controls whether ctrl+drag combines rotate with pitch (use pitchWithRotateEnabled).
  • [Android] Render the map into a SurfaceView by default instead of a TextureView, avoiding the per-frame copy a TextureView requires. Set MapWidget.textureView to true for a transparent background (isOpaque: false) and for the VD and TLHC_VD hosting modes, which cannot display a SurfaceView.

Bug fixes

  • Fix rgb, hsl, and hsla style-color expressions decoding incorrectly: rgb colors rendered nearly fully transparent, and hsl/hsla colors used the wrong saturation/lightness scale and alpha, producing wrong or (in debug builds) crashing results. rgba expressions 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.

Dependency Updates

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