Skip to content

v11.7.0-rc.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@mapbox-github-ci-writer-public-1 mapbox-github-ci-writer-public-1 released this 16 Sep 13:38
· 14 commits to release/v11.7 since this release

11.7.0-rc.1 September 16, 2024

Breaking changes ⚠️

  • Experimental interactive features API changes:
    • FeatureStateValue was removed in favour of generic FeatureState.
    • MapboxMap.setFeatureState takes a single FeatureState class instead of vararg FeatureStateValue.
    • BaseInteractiveFeature was removed in favour of InteractiveFeature.
    • InteractiveFeature.state is now a generic of FeatureState.
    • MapboxMap.getFeatureState signature changed to be generic and return typed FeatureState in the new FeatureStateCallback.

Features ✨ and improvements 🏁

  • Introduce experimental MapboxMap.queryRenderedFeature allowing to get an InteractiveFeature for given geometry, FeaturesetHolder and optional filter.
  • Introduce experimental FillExtrusionLayer.fillExtrusionLineWidth and FillExtrusionLayerState.fillExtrusionLineWidth in Compose allowing to switch fill extrusion rendering into wall rendering mode. Use this property to render the feature with the given width over the outlines of the geometry.
  • Add missing experimental annotation to PointAnnotationManager.symbolZOffset and PolylineAnnotationManager.lineZOffset
  • Deprecate PolylineAnnotationManager.lineTrimColor in favour of PolylineAnnotationManager.lineTrimColorString/PolylineAnnotationManager.lineTrimColorInt.
  • [compose] Introduce experimental StyleInteractionsState, StyleImportsInteractionsState, LayerInteractionsState to handle interactions to the style, style imports and layers.
  • [compose] Introduce experimental StyleImport composable functions to accept StyleImportsInteractionsState as an parameter.
  • [compose] Introduce experimental LayerInteractionsState as part of *LayerState of layers that's driven by a source.
  • [compose] Introduce experimental MapState.getFeatureState, MapState.setFeatureState, MapState.removeFeatureState and MapState.resetFeatureState APIs.
  • [compose] Introduce StyleState that groups StyleImportsConfig, StyleInteractionsState, Projection, AtmosphereState, TerrainState, LightsState, styleTransition.
  • [compose] Introduce GenericStyle composable function that uses StyleState as parameter and deprecate GenericStyle that takes individual light/terrain/projection states.
  • [compose] Introduce MapStyle composable function that uses StyleState as parameter and deprecate MapStyle that takes individual light/terrain/projection states.
  • [compose] Introduce StyleImportState that groups ImportConfigs and StyleImportInteractionsState.
  • [compose] Introduce StyleImport composable function that uses StyleImportState as parameter and deprecate StyleImport that takes ImportConfigs.

Bug fixes 🐞

  • Fix a crash when calling CameraAnimationsPlugin.easeTo() with empty camera options or CameraAnimationsPlugin.playAnimatorsSequentially() / CameraAnimationsPlugin.playAnimatorsTogether() with an empty array of animators.
  • Fix ongoing animations being canceled when CameraAnimationsPlugin.flyTo() with empty camera options is called.
  • Fix simultaneous scale and rotation gestures not working when the first registered rotation is a scale one.
  • Fix crash on Android tilestore where null data was returned.
  • Fix the incorrect behaviour when using SymbolLayer.symbolZOrder property.
  • Fix retrieval of tilesets for 3d tiles in offline mode.
  • Fix rendering errors of patterns on high zoom levels.
  • Fix a bug where style changes weren't reflected after the source layer of a layer was changed.