EntryPoint

public struct EntryPoint

A representation of an entry point for a POI.

Important

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

Lifecycle

  • EntryPoint init method.

    Declaration

    Swift

    public init(type: String, position: CLLocationCoordinate2D)

    Parameters

    type

    Type of the entry point. Can be one of {“main”, “minor”}.

    position

    Position of the entry point (latitude and longitude).

Public

  • Type of the entry point. Can be one of {“main”, “minor”}.

    Declaration

    Swift

    public let type: String
  • Position of the entry point (latitude and longitude).

    Declaration

    Swift

    public let position: CLLocationCoordinate2D