The boundary of the area within which this map view's center must remain.
SDKs
- iOS 13.0+
- macOS 10.15+
- Mac Catalyst 13.0+
- tvOS 13.0+
Framework
- Map
Kit
Declaration
@NSCopying var cameraBoundary: MKMap View.Camera Boundary? { get set }
The boundary of the area within which this map view's center must remain.
SDKs
Framework
@NSCopying var cameraBoundary: MKMap View.Camera Boundary? { get set }
Display a map that is relevant to the user by filtering points of interest and search results, and constraining the visible region.
func set Camera Boundary(MKMap View .Camera Boundary?, animated: Bool)
Set the camera boundary for the map view, specifying whether to use animation.
func set Camera Zoom Range(MKMap View .Camera Zoom Range?, animated: Bool)
Set the camera zoom range for the map view, specifying whether to use animation.
var camera Zoom Range: MKMap View .Camera Zoom Range!
The zoom range applied to this map view.
class MKMap View .Camera Boundary
A boundary of an area within which the map's center must remain.
class MKMap View .Camera Zoom Range
A range that determines the minimum and maximum distance of the camera to the center of the map.