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
Copy file name to clipboardExpand all lines: README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -571,6 +571,7 @@ The `MapViewController` is provided via the `onMapViewControllerCreated` callbac
571
571
|`removeCircle(id: string)`|`void`| Remove a circle by its ID |
572
572
|`removeGroundOverlay(id: string)`|`void`| Remove a ground overlay by its ID |
573
573
|`moveCamera(position: CameraPosition)`|`void`| Move camera to a new position |
574
+
|`animateCamera(position: CameraPosition, duration?: number \| null)`|`Promise<void>`| Animate camera to a new position. Defaults to 500 ms when duration is omitted |
574
575
|`setZoomLevel(level: number)`|`void`| Set the map zoom level |
575
576
|`setPadding(padding: Padding)`|`void`| Set padding on the map |
576
577
|`getCameraPosition()`|`Promise<CameraPosition>`| Get the current camera position |
0 commit comments