v11.5.0-beta.1
Pre-release
Pre-release
mapbox-github-ci-writer-public-1
released this
11 Jun 15:59
·
28 commits
to release/v11.5
since this release
11.5.0-beta.1 June 11, 2024
Breaking changes ⚠️
- [compose] Move
Projection
togenerated
package and renamedefault
values toDEFAULT
. - [compose] Rename
LightPreset
toLightPresetValue
. - [compose] Rename
TerrainState.disabled
toTerrainState.DISABLED
. - [compose] Replace terrain property
Exaggeration
withDoubleValue
. - [compose] Replace concrete
AtmosphereState
properties (e.g.HighColor
,HorizonBlend
,SpaceColor
, etc) with generic ones:ColorValue
,DoubleValue
,DoubleRangeValue
. - [compose] Replace concrete Layer properties(e.g.
CircleColor
,CircleOpacity
,IconImage
etc) with generic ones:ColorValue
,DoubleValue
,ImageValue
etc. - [compose] Replace concrete
GeoJsonSourceState
,ImageSourceState
,RasterArraySourceState
,RasterDemSourceState
,RasterSourceState
,SourceProperties
,VectorSourceState
properties with generic ones (e.g.BooleanValue
,StringValue
,LongValue
...). - [compose] Move
GeoJSONData
outside ofgenerated
package.
Features ✨ and improvements 🏁
- Expose
clusterMinPoints
property forGeoJSONSource
and for annotation'sClusterOptions
. - Remove explicit main thread locking when using
CircleAnnotationManager
,PointAnnotationManager
,PolygonAnnotationManager
,PolylineAnnotationManager
and dragging the map that could lead to an ANR. - Use dedicated thread for the tile store to increase performance.
- [compose] Expose
TerrainState
andAtmosphereState
properties asMutableState
. - [compose] Introduce
AmbientLightState
,DirectionalLightState
,FlatLightState
as separate states;LightsState
can be constructed by combination ofDirectionalLightState
andAmbientLightState
or withFlatLightState
to be set to the style. - [compose] Avoid recreation of objects during recomposition of
GenericStyle
.
Bug fixes 🐞
- [compose] Fix
No enum constant com.mapbox.maps.GeoJSONSourceData
crash when restoring app from background. Snapshotter
methods throwSnapshotterDestroyedException
ifdestroy
was already called.- Fix precision issues in
ColorUtils
methods. - Fix NPE when parsing
rgb(...)
strings withColorUtils
methods. - Fix
ScaleBar.useContinuousRendering
not being in sync withScaleBar.settings.useContinuousRendering
. - Fix accuracy ring related location settings updates not being rendered immediately.
- Fix a crash for Draco compressed 3D models whose geometry share indices.
- Fix tile rendering errors when the composited source tile components are overscaled.
- Fix transparent areas in overlapped polygons of MultiPolygon feature.
- Fix crash on multiple style pack loading operations.
Dependencies
- Update gl-native to v11.5.0-beta.1 and common to v24.5.0-beta.4.