Position

public struct Position : Codable

The geographical position of the POI.

Important

This is a Public Preview API. It may be changed or removed at any time.

Lifecycle

  • Position init method.

    Declaration

    Swift

    public init(lat: Double, lon: Double)

    Parameters

    lat

    Latitude of the POI.

    lon

    Longitude of the POI.

Public

  • lat

    Latitude of the POI.

    Declaration

    Swift

    public let lat: Double
  • lon

    Longitude of the POI.

    Declaration

    Swift

    public let lon: Double