ReserveCoordinate

public struct ReserveCoordinate : Equatable

Reserve coordinate.

Lifecycle

  • Creates an instance of ReserveCoordinate

    Declaration

    Swift

    public init(numberCoordinate: UInt, reservedDistance: Bool)

    Parameters

    numberCoordinate

    The number of coordinates to reserve memory for.

    reservedDistance

    If the addCoordinate overload is being used with the distanceAlongLine parameter, setting this to true will reserve additional memory for those distances.

Public

  • The number of coordinates to reserve memory for.

    Declaration

    Swift

    public let numberCoordinate: UInt
  • If the addCoordinate overload is being used with the distanceAlongLine parameter, setting this to true will reserve additional memory for those distances.

    Declaration

    Swift

    public let reservedDistance: Bool