Instance Method
setCameraBoundaryAnimated
Changes the map's camera boundary with an animated transition.
Declaration
mapkit.Map setCameraBoundaryAnimated(mapkit.CoordinateRegion coordinateRegion|mapkit.MapRect mapRect, optional Boolean animate);
Parameters
coordinateRegion or mapRect
animate
A Boolean value that determines whether the visible area change should be animated. The default value is true
.
Return Value
Returns the parent map instance object so calls can be chained.
Discussion
By default, the change of boundary animates.
See Also
Manipulating the Visible Portion of the Map
center
The map coordinate at the center of the map view.
setCenterAnimated
Centers the map to the provided coordinate, with optional animation.
region
The area currently displayed by the map.
setRegionAnimated
Changes the map's region to the region provided, with optional animation.
cameraDistance
Sets the altitude of the camera above the center of the map.
cameraZoomRange
Sets the minimum and maximum distance of the camera from the map center.