init(centerCoordinateBounds:minimumDistance:maximumDistance:)
Creates a camera bounds with the specified map rectangle boundary and zoom ranges.
Declaration
init(centerCoordinateBounds: MKMapRect, minimumDistance: Double? = nil, maximumDistance: Double? = nil)Parameters
- centerCoordinateBounds:
An Mkmaprect that specifies a boundary of an area that the map’s center needs to remain in.
- minimumDistance:
The minimum distance someone can zoom in on a map based on its center point, measured in meters.
- maximumDistance:
The maximum distance the user can zoom out on a map based on its center point, measured in meters.