v11.7.0-rc.1
Pre-release
Pre-release
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 genericFeatureState
.MapboxMap.setFeatureState
takes a singleFeatureState
class instead of varargFeatureStateValue
.BaseInteractiveFeature
was removed in favour ofInteractiveFeature
.InteractiveFeature.state
is now a generic ofFeatureState
.MapboxMap.getFeatureState
signature changed to be generic and return typedFeatureState
in the newFeatureStateCallback
.
Features ✨ and improvements 🏁
- Introduce experimental
MapboxMap.queryRenderedFeature
allowing to get anInteractiveFeature
for given geometry,FeaturesetHolder
and optional filter. - Introduce experimental
FillExtrusionLayer.fillExtrusionLineWidth
andFillExtrusionLayerState.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
andPolylineAnnotationManager.lineZOffset
- Deprecate
PolylineAnnotationManager.lineTrimColor
in favour ofPolylineAnnotationManager.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 acceptStyleImportsInteractionsState
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
andMapState.resetFeatureState
APIs. - [compose] Introduce
StyleState
that groupsStyleImportsConfig
,StyleInteractionsState
,Projection
,AtmosphereState
,TerrainState
,LightsState
,styleTransition
. - [compose] Introduce
GenericStyle
composable function that usesStyleState
as parameter and deprecateGenericStyle
that takes individual light/terrain/projection states. - [compose] Introduce
MapStyle
composable function that usesStyleState
as parameter and deprecateMapStyle
that takes individual light/terrain/projection states. - [compose] Introduce
StyleImportState
that groupsImportConfigs
andStyleImportInteractionsState
. - [compose] Introduce
StyleImport
composable function that usesStyleImportState
as parameter and deprecateStyleImport
that takesImportConfigs
.
Bug fixes 🐞
- Fix a crash when calling
CameraAnimationsPlugin.easeTo()
with empty camera options orCameraAnimationsPlugin.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.