You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit cc3d323
Browse filesBrowse the repository at this point in the historyBrowse files
This PR implements collision detection between view annotations and
symbol layer. Previously, to achieve the same effect for View Annotation
would need to create a separate transparent symbol layer for each view
annotations with the same dimensions.
GitOrigin-RevId: cbd2914c81d32bc9f0799468b32a3b91c0f9349e
Copy file name to clipboardExpand all lines: CHANGELOG.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,11 @@ Mapbox welcomes participation and contributions from everyone.
15
15
* Update gl-native to [v11.25.0](https://github.com/mapbox/mapbox-maps-android/releases/tag/v11.25.0), common to [v24.25.0](https://github.com/mapbox/mapbox-maps-android/releases/tag/v11.25.0).
16
16
17
17
18
+
## Features ✨ and improvements 🏁
19
+
* Introduce new experimental `ViewAnnotationOptions.enableSymbolLayerCollision` option which allows view annotations to hide underlying map symbols to avoid visual clutter.
20
+
By default, the full bounding box of the view annotation is used for collision detection. If your annotation has a non-rectangular shape, it is highly recommended to mark the specific subviews that should participate via the new experimental `View.mbxCollisionBox` flag.
21
+
* Support drawing view annotation collision boxes when `MapView.debugOptions` is set to `COLLISION`.
22
+
18
23
# 11.25.0-rc.2 June 04, 2026
19
24
## Bug fixes 🐞
20
25
* Internal fixes and performance improvements.
@@ -5463,4 +5468,3 @@ To get started with v10, please refer to our [migration guide](https://docs.mapb
5463
5468
* An invalid LatLng conversion can occur and produce a native crash
5464
5469
* Native crash when resuming the map in specific situations
5465
5470
* Native crash when performing a camera transition using Map#jumpTo
Copy file name to clipboardExpand all lines: app/src/main/java/com/mapbox/maps/testapp/examples/markersandcallouts/viewannotation/DynamicViewAnnotationActivity.kt
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -336,6 +336,7 @@ class DynamicViewAnnotationActivity : AppCompatActivity() {
336
336
btnMode.text = getString(R.string.dynamic_mode, if (isOverview) "follow"else"overview")
0 commit comments