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
[MAPSSDK-851] Add Animation support to Marker on Android and iOS (#7661)
This PR adds pre-defined animations to Markers for both iOS and Android,
enabling developers to easily animate markers when they appear (marker
is added to the map) or disappear (removed from map). There are three
pre-defined animations, which can be combined
GitOrigin-RevId: 37a14f5b0ffa8c7adc9d2b0421b0114507a5f17b
Copy file name to clipboardExpand all lines: CHANGELOG.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,14 +4,15 @@ Mapbox welcomes participation and contributions from everyone.
4
4
5
5
## main
6
6
7
+
### Features ✨ and improvements 🏁
8
+
* Add animation to experimental `Marker` with two animation triggers: `appear` and `disappear`. Each trigger accepts `MarkerAnimationEffect` including `wiggle` (pendulum rotation), `scale`, `fadeIn`, and `fadeOut`. Effects can be customized with parameters (e.g., `scale(from: 0.5, to: 1.5)`, `fade(from: 0.5, to: 1.0)`) and combined for rich animations. See `MarkersExample` for usage.
9
+
7
10
## 11.19.0-rc.1 - 12 February, 2026
8
11
9
12
### Features ✨ and improvements 🏁
10
13
* Introduce new `LineLayer.lineElevationGroundScale` property to scale elevated lines with terrain exaggeration.
11
14
* Promote elevated lines properties to stable: `LineLayer.lineZOffset` and `LineLayer.lineElevationReference`.
12
15
* Introduce experimental `SymbolScaleBehavior` API to automatically scale map symbols (icons and text) based on system accessibility text size settings. Set `MapboxMap.symbolScaleBehavior` property to configure: `.system` (automatic scaling), `.system(mapping:)` (custom mapping function), or `.fixed(scaleFactor:)` (fixed scale, default is 1.0). Valid scale factor range is [0.8, 2.0]. Automatic scaling is opt-in; symbols default to fixed 1.0x scale.
13
-
14
-
### Features ✨ and improvements 🏁
15
16
* Add `ModelSource` support with `Model`, `ModelMaterialOverride`, and `ModelNodeOverride` to enable interactive 3D models. Material overrides allow customization of color, emissive strength, opacity, and color mix intensity. Node overrides enable control of model part transformations such as rotating doors, landing gear, or propellers. Models can be updated via source-driven approach (modifying `ModelSource.models` directly) or feature-state driven approach (using expressions with feature state for dynamic control). For implementation examples, see `Interactive3DModelFeatureStateExample` (SwiftUI), `Interactive3DModelSourceExample` (UIKit), and `Animated3DModelSourceExample` (SwiftUI).
Copy file name to clipboardExpand all lines: Sources/Examples/SwiftUI Examples/Testing Examples/SwiftUIRoot.swift
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ struct SwiftUIExamples {
21
21
Example("Animated 3D airplane model", note:"Animate a 3D airplane model along a flight path with animated propellers, landing gear, and lights using feature state.", destination:Animated3DModelSourceExample())
22
22
},
23
23
Examples.Category("Annotations"){
24
-
Example("Add Map Markers", note:"Add/remove Markers to your map.", destination:MarkersExample())
24
+
Example("Add Map Markers", note:"Add Markers to your map.", destination:MarkersExample())
25
25
Example("View Annotations", note:"Add/remove view annotation on tap.", destination:ViewAnnotationsExample())
26
26
Example("Weather annotations", note:"Show view annotations with contents changed on selection.", destination:WeatherAnnotationExample())
27
27
Example("Layer Annotations", note:"Add/remove layer annotation on tap.", destination:AnnotationsExample())
0 commit comments