Contents

init(centerCoordinateBounds:minimumDistance:maximumDistance:)

Creates a camera bounds with the specified region boundary and zoom ranges.

Declaration

init(centerCoordinateBounds: MKCoordinateRegion, minimumDistance: Double? = nil, maximumDistance: Double? = nil)

Parameters

  • centerCoordinateBounds:

    A boundary of an area within which the map’s center needs to remain.

  • minimumDistance:

    The minimum distance someone can zoom in on a map based on its center point, measured in meters.

  • maximumDistance:

    The maximum distance someone can zoom out on a map based on its center point, measured in meters.

See Also

Creating a map camera bounds