v11.8.0-beta.1
Pre-release
Pre-release
mapbox-github-ci-writer-public-1
released this
14 Oct 19:06
·
17 commits
to release/v11.8
since this release
11.8.0-beta.1 October 14, 2024
Features ✨ and improvements 🏁
- Introduce
Style.STANDARD_EXPERIMENTAL
style supporting featuresets and map interactions. Important: this style should not be used in production as the style definition on backend is a subject to change after v11.8.0 stable release! - Introduce fully typed map click and long click interactions working with
Style.STANDARD_EXPERIMENTAL
:standardPoi
,standardPlaceLabels
,standardBuildings
.
- Use Cronet as the default network stack. If Cronet is not available, network stack defaults to OkHttp used in previous versions. More information available here.
- Introduce
OnClusterClickListener
andOnClusterLongClickListener
forCircleAnnotationManager
andPointAnnotationManager
. These callbacks receive the clicked cluster represented by aClusterFeature
. - Introduce experimental
getStyleGlyphURL
/setStyleGlyphURL
functions forMapboxMap
andStyle
. - Make
fill-extrusion-emissive-strength
property data-driven. - Dispatch view annotations update before rendering, so that view annotations and map layers are rendered simultaneously and thus decreasing the view annotations latency when using
ViewAnnotationUpdateMode.MAP_FIXED_DELAY
mode. - Overscale composited tile components in offline.
- Skip rendering landmarks when the camera is inside them.
- Introduce experimental Geofencing API. Implementation example: GeofencingActivity.kt
- [compose] Deprecate all
Annotation
andAnnotationGroup
composables that takeonClick
parameter. Now all annotation interactions could be set with appropriateAnnotationInteractionsState
orAnnotationGroupInteractionsState
stored inAnnotationGroupState
. - [compose] Introduce
AnnotationInteractionsState
andAnnotationGroupInteractionsState
states that allow to set callbacks for annotation interactions viaonClicked()
andonLongClicked()
.PointAnnotationGroupInteractionsState
andCircleAnnotationGroupInteractionsState
also provide ability to set callbacks for interactions with clusters viaonClusterClicked
andonClusterLongClicked
. - [compose] Introduce
remember
(e.g.rememberPolylineAnnotationGroupInteractionsState
andrememberPolylineAnnotationInteractionsState
) composable functions to create, init and remember all types ofAnnotationInteractionsState
andAnnotationGroupInteractionsState
. - [compose] Introduce
<AnnotationType>InteractionsState.isDraggable
/<AnnotationType>GroupInteractionsState.isDraggable
API for all annotation types allowing to drag annotations. CallbacksonDragStarted()
,onDragged()
,onDragFinished()
are added as well. - [compose] Introduce experimental
Attribution(..., geofencingDialog)
compose function to customize Geofencing consent dialog. - Introduce experimental
MapView.attribution..getMapAttributionDelegate().extraAttributions
to add custom attributions to the attribution dialog.
Bug fixes 🐞
- Improve zooming performance on dynamic Standard terrain and optimize terrain re-rendering performance on e.g routeline
line-trim-offset
change. - Respect polygons with holes on querying rendered features.
- Fix self-overlap of line corners when large
line-width
is used. - Adjust conflation intersection test padding to fix disappearing
fill-extrusion
. - Fix TileCover bug with polygon horizontal edges.
- Fix a bug with image dependent paint properties not getting a correct value after image become available.
- Clear tile pyramid on color theme change before the tiles are updated.
- Fix missing images notifications for images within coalesce expression when other images in coalesce are present. Image expressions with two arguments are no longer being considered present if only second image is present.
- Return operation error for featurestate related API in case the featureset is not valid.
- Fix crash on style pack load when no access token is set.
- Fix crash in TerrainRenderer when using snapshotter.
- Fix crash on re-creation of a custom raster source when different options are provided.
- Return parsing errors if runtime added style import JSON is not valid.
- Fix missing models in rendering result if
reduceMemoryUse
is called before taking snapshot. - Fix the incorrect behaviour when using
symbol-z-oder
property. - Fix
raster-particle
trail discontinuity at the antimeridian.
Dependencies
- Update gl-native to v11.8.0-beta.1 and common to v24.8.0-beta.1.