PointLocationProvider

open class PointLocationProvider : LocationProvider

Basic location provider which returns the same coordinate on each request

  • Pinned coordinate for Location Provider

    Declaration

    Swift

    public let coordinate: CLLocationCoordinate2D
  • Create location provider with fixed coordinate

    Declaration

    Swift

    public init(coordinate: CLLocationCoordinate2D)

    Parameters

    coordinate

    Pinned coordinate for Location Provider

  • Fixed coordinate access

    Declaration

    Swift

    public func currentLocation() -> CLLocationCoordinate2D?

    Return Value

    Pinned coordinate for Location Provider