Skip to content

Commit 890a9a0

Browse files
persidskiygithub-actions[bot]
authored andcommitted
Merge pull request #2985 from mapbox/nb/maps-android-main-27-3-2025
Update maps Android code from internal repo GitOrigin-RevId: 2a6512b4fcb82d718229e0a8f3acd937a7235656
1 parent 3d3da62 commit 890a9a0

File tree

21 files changed

+57
-34
lines changed

21 files changed

+57
-34
lines changed

CHANGELOG.md

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,43 @@ Mapbox welcomes participation and contributions from everyone.
99
* [compose] Introduce experimental `colorUseTheme` API for `AmbientLightState`, `DirectionalLightState`, and `FlatLightState` to override color theme of light.
1010
* [compose] Introduce experimental `vignetteColorUseTheme` and `colorUseTheme` for `RainState` and `SnowState` which allows overriding color theme of precipitations.
1111

12-
# 11.11.0
12+
13+
# 11.11.0 March 26, 2025
14+
## Features ✨ and improvements 🏁
15+
* Support for landmark icons. Landmark icons are stylized, uniquely designed POI icons that indicate the most popular and recognizable landmarks on the map.
16+
* Support expression input for `PromoteId`.
17+
* Add a setting that allows geofencing users with Android <= 28 to access background locations. Add `mapbox-location-config.xml` file with the following content:
18+
```xml
19+
<resources>
20+
<bool name="com.mapbox.common.location.sdk28_use_background_permissions">true</bool>
21+
</resources>
22+
```
23+
* Add `Expression` support for `*UseTheme` style properties to override color theme for particular color properties in all layers.
24+
* Add experimental `*UseTheme` support for annotations and `LocationPuck3D`.
25+
* Introduce experimental `Style.setImportColorTheme`, which allows changing the color theme of the style import.
26+
* [compose] Introduce experimental `StyleImportState.styleColorTheme` which allows changing the color theme of the style import.
27+
* Conflate `MapboxMap.mapLoadedEvents`, `MapboxMap.mapLoadingErrorEvents`, `MapboxMap.styleLoadedEvents`, `MapboxMap.styleDataLoadedEvents`, `MapboxMap.cameraChangedEvents`, `MapboxMap.mapIdleEvents`, `MapboxMap.sourceAddedEvents`, `MapboxMap.sourceRemovedEvents`, `MapboxMap.sourceDataLoadedEvents`, `MapboxMap.styleImageMissingEvents`, `MapboxMap.styleImageRemoveUnusedEvents`, `MapboxMap.renderFrameStartedEvents`, `MapboxMap.renderFrameFinishedEvents`, `MapboxMap.resourceRequestEvents` by default to avoid blocking main thread due to slow collectors.
28+
1329
## Bug fixes 🐞
1430
* Fix annotation drag being triggered when multi-finger gesture is in progress.
31+
* Fix missing vector images after style change.
32+
* Ensure background color is correctly set.
33+
* Fix background layer not being updated if raster image was updated in-place or if color theme changed.
34+
* Trigger DVA replacement if zoom diff is big.
35+
* Fix line placement symbol disappearing issue when in zoom level 5.
36+
* Place view annotation away from camera when pitch > 45.
37+
* Fix dark shades of gradient effect in night preset.
38+
* Fix Custom Raster Source behavior on re-creation.
39+
* Change unreachable connection retries to use exponential backoff.
40+
* Fixed incorrect rgba to hsla conversion for white color.
41+
* Fix vector images rasterization.
42+
* Make katakana and CJK symbol rendered correctly in vertical writing mode.
43+
* Fix a bug that may cause style packs to be either inaccessible or incorrect when updating an older tile store database created with Maps SDK 11.9 or earlier versions. **In systems that have already used Maps SDK 11.10.0 through 11.10.2, a re-download of style packs may be necessary.**
44+
* Fix a map start time regression by speed up tile loading.
45+
46+
## Dependencies
47+
* Update gl-native to v11.11.0 and common to v24.11.0.
48+
1549

1650

1751
# 11.10.3 March 19, 2025

LICENSE.md

Lines changed: 1 addition & 1 deletion
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.11.0-rc.1,Mapbox ToS,Mapbox,https://www.mapbox.com/
485+
### MapboxCoreMaps,11.11.0,Mapbox ToS,Mapbox,https://www.mapbox.com/
486486

487487
```
488488
Mapbox Core Maps version 11.0

app/src/main/java/com/mapbox/maps/testapp/examples/geofence/ExtendedGeofencingActivity.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,6 @@ class ExtendedGeofencingActivity : AppCompatActivity() {
234234
// Postpone access to Geofence engine until we get location permissions
235235
geofencing.configure(
236236
GeofencingOptions.Builder().apply {
237-
defaultRadius = CUSTOM_GEOFENCE_RADIUS
238237
maximumMonitoredFeatures = 300_000
239238
}.build(),
240239
logGeofencingError("configure")

app/src/main/java/com/mapbox/maps/testapp/examples/geofence/SimpleGeofencingActivity.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,6 @@ class SimpleGeofencingActivity : AppCompatActivity() {
132132
// Postpone access to Geofence engine until we get location permissions
133133
geofencing.configure(
134134
GeofencingOptions.Builder().apply {
135-
defaultRadius = CUSTOM_GEOFENCE_RADIUS
136135
maximumMonitoredFeatures = 300_000
137136
}.build(),
138137
logGeofencingError("configure")
@@ -179,6 +178,7 @@ class SimpleGeofencingActivity : AppCompatActivity() {
179178

180179
val properties = JsonObject()
181180
properties.addProperty(GeofencingPropertiesKeys.DWELL_TIME_KEY, DWELL_TIME)
181+
properties.addProperty(GeofencingPropertiesKeys.POINT_RADIUS_KEY, CUSTOM_GEOFENCE_RADIUS)
182182
// for geofences represented by Point the defaultRadius from [GeofencingOptions] is used.
183183
val pointFeature = Feature.fromGeometry(
184184
point,

buildSrc/build.gradle.kts

Lines changed: 0 additions & 10 deletions
This file was deleted.

extension-androidauto/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ allprojects {
3333
// In your build.gradle, add the extension with your other dependencies.
3434
dependencies {
3535
// Note that the Mapbox Android Auto Extension depends on the entire Mapbox Maps SDK, it will bring the whole Mapbox Maps SDK with the same version as transitive dependency.
36-
implementation 'com.mapbox.extension:maps-androidauto:11.11.0-rc.1'
36+
implementation 'com.mapbox.extension:maps-androidauto:11.11.0'
3737
}
3838
```
3939

extension-compose/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,11 @@ allprojects {
5151
5252
// In your build.gradle, add the compose extension with your other dependencies.
5353
dependencies {
54-
implementation 'com.mapbox.extension:maps-compose:11.11.0-rc.1'
54+
implementation 'com.mapbox.extension:maps-compose:11.11.0'
5555
5656
// Pick your versions of Android Mapbox Map SDK
5757
// Note that Compose extension is compatible with Maps SDK v11.0+.
58-
implementation 'com.mapbox.maps:android:11.11.0-rc.1'
58+
implementation 'com.mapbox.maps:android:11.11.0'
5959
}
6060
```
6161

extension-localization/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ allprojects {
3131
3232
// In the app build.gradle file
3333
dependencies {
34-
implementation 'com.mapbox.extension:maps-localization:11.11.0-rc.1'
34+
implementation 'com.mapbox.extension:maps-localization:11.11.0'
3535
}
3636
```
3737

extension-style/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ allprojects {
3232
3333
// In the app build.gradle file
3434
dependencies {
35-
implementation 'com.mapbox.extension:maps-style:11.11.0-rc.1'
35+
implementation 'com.mapbox.extension:maps-style:11.11.0'
3636
}
3737
```
3838

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VERSION_NAME=11.11.0-SNAPSHOT
1+
VERSION_NAME=11.12.0-SNAPSHOT
22

33
# Project-wide Gradle settings.
44
# IDE (e.g. Android Studio) users:

0 commit comments

Comments
 (0)