Changes the currently visible portion of the map and optionally animates the change.
SDKs
- iOS 4.0+
- macOS 10.9+
- Mac Catalyst 13.0+
- tvOS 9.2+
Framework
- Map
Kit
Declaration
Parameters
mapRect
The map rectangle to make visible in the map view.
animate
Specify
true
if you want the map view to animate the transition to the new map rectangle orfalse
if you want the map to center on the specified rectangle immediately.