Skip to content

Commit e5afe7c

Browse files
authored
Update glNative to 11.9.0, common to 24.9.0. (#2898)
* Update glNative to 11.9.0, common to 24.9.0. * Fix centerThinning property not working, remove experimental from clip layer.
1 parent fd0ad76 commit e5afe7c

File tree

14 files changed

+123
-69
lines changed

14 files changed

+123
-69
lines changed

CHANGELOG.md

+58
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,66 @@ Mapbox welcomes participation and contributions from everyone.
77
* Localize geofencing attribution dialog.
88

99
# 11.9.0
10+
## Breaking changes ⚠️
11+
* Expose experimental Geofencing with `com.mapbox.annotation.MapboxExperimental`.
12+
* Move experimental geofencing classes to `com.mapbox.common.geofencing` package from `com.mapbox.common.experimental.geofencing`.
13+
* Make constructor of experimental `GeofencingOptions`, `GeofencingEvent` and other geofencing classes holding data private. Associated `Builder()` classes should be used instead.
14+
* Remove experimental `MapboxMap.queryRenderedFeatures` and `MapboxMap.querySourceFeatures` that used `FeaturesetQueryTarget` as an argument.
15+
1016
## Features ✨ and improvements 🏁
17+
* Introduce experimental `FillExtrusionLayer.fillExtrusionBaseAlignment` and `FillExtrusionLayer.fillExtrusionHeightAlignment` APIs to control the behavior of fill extrusion base over terrain and the behavior of fill extrusion height over terrain respectively.
18+
* Introduce experimental `FillLayer.fillZOffset` and `FillLayer.fillZOffsetTransition` APIs to specify a uniform elevation in meters and define the transition of `fillZOffset` respectively.
19+
* Adds support for `fillZOffset` in `PolygonAnnotation`, `PolygonAnnotationManager`, `PolygonAnnotationOptions`.
20+
* Introduce `BackgroundLayer.backgroundPitchAlignment` API to configure the orientation of background layer.
21+
* Introduce `LocationIndicatorLayer.emphasisCircleGlowRange` and `LocationIndicatorLayer.emphasisCircleGlowRangeTransition` APIs to control the glow effect of the emphasis circle from the solid start to the fully transparent end and to set the transition options for the `emphasisCircleGlowRange` property, respectively.
22+
* Introduce `radius` parameter for `ClickInteraction` and `LongClickInteraction` to support an extra area around the interaction.
23+
* Add a way to specify options for `Expression.image()`.
24+
* Introduce experimental `AnimatableModel`, `ModelMaterialPart`, `ModelNodePart` APIs to style the 3D location puck's overridable parts. [Implementation example](app/src/main/java/com/mapbox/maps/testapp/examples/LocationComponentModelAnimationActivity.kt).
25+
* Introduce `modelRotationExpression`, `modelColor`, `modelColorExpression`, `modelColorMixIntensity`, `modelColorMixIntensityExpression`, `modelOpacityExpression` on `LocationPuck3D`.
26+
* Introduce experimental `LocationPuck3D.materialOverrides` and `LocationPuck3D.nodeOverrides` API to allow model parts overrides.
27+
* Add vector icons support: SDK will now download vector icons and rasterize them locally, which will results in better icon quality for icons resized via icon-size. Changeable colors support: icon expression can now have optional parameter to change named colors described in SVG icons metadata.
28+
* Add support for shadows from elevated structures.
29+
* Add `toHsla` expression.
30+
* Introduce experimental `Snow` and `Rain` APIs to show the snow or rain effect on the map.
1131
* Expose experimental `getFeaturesets` for `MapboxMap` and `Style`.
32+
* Remove`MapboxExperimental` from `ClipLayer`.
33+
* [compose] Introduce `LocationIndicatorLayerState.emphasisCircleGlowRange` and `LocationIndicatorLayerState.emphasisCircleGlowRangeTransition` properties.
34+
* [compose] Introduce `FillLayerState.fillZOffset` and `FillLayerState.fillZOffsetTransition` properties.
35+
* [compose] Introduce `FillExtrusionLayerState.fillExtrusionBaseAlignment` and `FillExtrusionLayerState.fillExtrusionHeightAlignment` properties.
36+
* [compose] Introduce `BackgroundLayerState.backgroundPitchAlignment` property.
37+
* [compose] Adds support for `fillZOffset` in `PolygonAnnotationState`, `PolygonAnnotationGroupState`.
38+
* [compose] Expose `MapViewportState.cameraForCoordinates` method.
39+
* [compose] Introduce `radius` parameter for all relevant compose functions for interactions to support an extra area around the interaction.
40+
* [compose] Introduce experimental `SnowState` and `RainState` APIs to show the snow or rain effect on the map.
41+
42+
## Bug fixes 🐞
43+
* Fix dark shades caused by corner case light directions when `FillLayer.fillExtrusionEmissiveStrength` is set to high values (closer to 1).
44+
* Fix rendering of interleaved SDF and non-SDF icons in the same layer.
45+
* Fix `LineLayer.lineEmissiveStrength` not being applied to patterned lines.
46+
* Fix map flickering on some Mali and PowerVR GPUs.
47+
* Fix shader fog computation being incorrectly enabled for landmarks.
48+
* Handle empty payloads for offline resources.
49+
* Encapsulate config expression in assertion expression when expected return type is known.
50+
* Fixes a bug which caused icon shifts in some cases.
51+
* Fix feature state update if layer contains data driven `measureLight` expression.
52+
* Fix the owning thread log error prints on legacy `OfflineRegion` creation.
53+
* Fix a crash in interpolate expression.
54+
* Resolve usage of `GeoJsonSource.autoMaxZoom` for single feature.
55+
* Resolve dotted line issue with very long lines.
56+
* Fix texture gather for shadows not being selected correctly by default.
57+
* Performance improvements for runtime-added images.
58+
* Fix `AndroidDeviceLocationProvider` reporting an error when location permissions are not granted.
59+
* Improve exception handling inside Cronet providers when Cronet library failed to load.
60+
* Improve character spacing for text offsets.
61+
* Fixed crash on Android API level < 26.
62+
* Do not load vector icons for client-provided sprites.
63+
* Fall back to the feature's original ID when promoteId is an object and the source layer is not specified as a key in the object.
64+
* Fixed crash caused by a repeated command buffer commit call.
65+
* Fixed invalid processing of icon-size 0, using biggest of two image sizes with interpolated icon-size during vector icons rasterization.
66+
67+
## Dependencies
68+
* Update gl-native to v11.9.0 and common to v24.9.0.
69+
1270

1371
# 11.9.0-rc.1 December 10, 2024
1472
## Features ✨ and improvements 🏁

LICENSE.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ License: [The Apache Software License, Version 2.0](http://www.apache.org/licens
482482

483483
===========================================================================
484484

485-
### MapboxCoreMaps,11.9.0-rc.1,Mapbox ToS,Mapbox,https://www.mapbox.com/
485+
### MapboxCoreMaps,11.9.0,Mapbox ToS,Mapbox,https://www.mapbox.com/
486486

487487
```
488488
Mapbox Core Maps version 11.0

extension-compose/api/Release/metalava.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -1827,17 +1827,17 @@ package com.mapbox.maps.extension.compose.style.layers.generated {
18271827
}
18281828

18291829
public final class ClipLayerKt {
1830-
method @androidx.compose.runtime.Composable @com.mapbox.maps.MapboxExperimental @com.mapbox.maps.extension.compose.MapboxMapComposable public static void ClipLayer(com.mapbox.maps.extension.compose.style.sources.SourceState sourceState, String layerId = remember({
1830+
method @androidx.compose.runtime.Composable @com.mapbox.maps.extension.compose.MapboxMapComposable public static void ClipLayer(com.mapbox.maps.extension.compose.style.sources.SourceState sourceState, String layerId = remember({
18311831
return generateRandomLayerId("clip")
18321832
}), com.mapbox.maps.extension.compose.style.layers.generated.ClipLayerState clipLayerState = remember({
18331833
return <init>()
18341834
}));
1835-
method @androidx.compose.runtime.Composable @com.mapbox.maps.MapboxExperimental @com.mapbox.maps.extension.compose.MapboxMapComposable public static inline void ClipLayer(com.mapbox.maps.extension.compose.style.sources.SourceState sourceState, String layerId = remember({
1835+
method @androidx.compose.runtime.Composable @com.mapbox.maps.extension.compose.MapboxMapComposable public static inline void ClipLayer(com.mapbox.maps.extension.compose.style.sources.SourceState sourceState, String layerId = remember({
18361836
return generateRandomLayerId("clip")
18371837
}), kotlin.jvm.functions.Function1<? super com.mapbox.maps.extension.compose.style.layers.generated.ClipLayerState,kotlin.Unit> init);
18381838
}
18391839

1840-
@androidx.compose.runtime.Stable @com.mapbox.maps.MapboxExperimental public final class ClipLayerState {
1840+
@androidx.compose.runtime.Stable public final class ClipLayerState {
18411841
ctor public ClipLayerState();
18421842
method public com.mapbox.maps.extension.compose.style.StringListValue getClipLayerScope();
18431843
method public com.mapbox.maps.extension.compose.style.layers.generated.ClipLayerTypesListValue getClipLayerTypes();

extension-compose/src/main/java/com/mapbox/maps/extension/compose/style/layers/generated/ClipLayer.kt

+1-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

extension-compose/src/main/java/com/mapbox/maps/extension/compose/style/layers/generated/ClipLayerState.kt

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

extension-compose/src/main/java/com/mapbox/maps/extension/compose/style/precipitations/generated/RainState.kt

+6-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

extension-compose/src/main/java/com/mapbox/maps/extension/compose/style/precipitations/generated/SnowState.kt

+6-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

extension-style/api/Release/metalava.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -1582,7 +1582,7 @@ package com.mapbox.maps.extension.style.layers.generated {
15821582
method public static com.mapbox.maps.extension.style.layers.generated.CircleLayer circleLayer(String layerId, String sourceId, kotlin.jvm.functions.Function1<? super com.mapbox.maps.extension.style.layers.generated.CircleLayerDsl,kotlin.Unit> block);
15831583
}
15841584

1585-
@UiThread @com.mapbox.maps.MapboxExperimental public final class ClipLayer extends com.mapbox.maps.extension.style.layers.Layer implements com.mapbox.maps.extension.style.layers.generated.ClipLayerDsl {
1585+
@UiThread public final class ClipLayer extends com.mapbox.maps.extension.style.layers.Layer implements com.mapbox.maps.extension.style.layers.generated.ClipLayerDsl {
15861586
ctor public ClipLayer(String layerId, String sourceId);
15871587
method @com.mapbox.maps.MapboxExperimental public com.mapbox.maps.extension.style.layers.generated.ClipLayer clipLayerScope(java.util.List<java.lang.String> clipLayerScope);
15881588
method @com.mapbox.maps.MapboxExperimental public com.mapbox.maps.extension.style.layers.generated.ClipLayer clipLayerScope(com.mapbox.maps.extension.style.expressions.generated.Expression clipLayerScope);
@@ -1641,7 +1641,7 @@ package com.mapbox.maps.extension.style.layers.generated {
16411641
property public final com.mapbox.maps.extension.style.layers.properties.generated.Visibility? defaultVisibility;
16421642
}
16431643

1644-
@com.mapbox.maps.MapboxExperimental @com.mapbox.maps.extension.style.types.LayersDsl public interface ClipLayerDsl {
1644+
@com.mapbox.maps.extension.style.types.LayersDsl public interface ClipLayerDsl {
16451645
method @com.mapbox.maps.MapboxExperimental public com.mapbox.maps.extension.style.layers.generated.ClipLayer clipLayerScope(java.util.List<java.lang.String> clipLayerScope = listOf(""));
16461646
method @com.mapbox.maps.MapboxExperimental public com.mapbox.maps.extension.style.layers.generated.ClipLayer clipLayerScope(com.mapbox.maps.extension.style.expressions.generated.Expression clipLayerScope);
16471647
method @com.mapbox.maps.MapboxExperimental public com.mapbox.maps.extension.style.layers.generated.ClipLayer clipLayerTypes(java.util.List<java.lang.String> clipLayerTypes = listOf());
@@ -1656,7 +1656,7 @@ package com.mapbox.maps.extension.style.layers.generated {
16561656
}
16571657

16581658
public final class ClipLayerKt {
1659-
method @com.mapbox.maps.MapboxExperimental public static com.mapbox.maps.extension.style.layers.generated.ClipLayer clipLayer(String layerId, String sourceId, kotlin.jvm.functions.Function1<? super com.mapbox.maps.extension.style.layers.generated.ClipLayerDsl,kotlin.Unit> block);
1659+
method public static com.mapbox.maps.extension.style.layers.generated.ClipLayer clipLayer(String layerId, String sourceId, kotlin.jvm.functions.Function1<? super com.mapbox.maps.extension.style.layers.generated.ClipLayerDsl,kotlin.Unit> block);
16601660
}
16611661

16621662
@UiThread public final class FillExtrusionLayer extends com.mapbox.maps.extension.style.layers.Layer implements com.mapbox.maps.extension.style.layers.generated.FillExtrusionLayerDsl {

extension-style/src/main/java/com/mapbox/maps/extension/style/layers/generated/ClipLayer.kt

-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)