FitToCoordinatesOptions

public struct FitToCoordinatesOptions : Equatable

A type that represents a set of coordinates and the padding around them.

  • Creates an instance of FitToCoordinatesOptions.

    Declaration

    Swift

    public init(coordinates: [CLLocationCoordinate2D], padding: UInt)

    Parameters

    coordinates

    List of coordinates, to be taken into account for setting the camera position.

    padding

    Padding between coordinates and camera borders.