EntryPoint

public struct EntryPoint
extension EntryPoint: Equatable

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.
  • EntryPoint init method.

    Declaration

    Swift

    public init(type: Type, position: CLLocationCoordinate2D)

    Parameters

    type

    Type of the entry point.

    position

    Position of the entry point (latitude and longitude).

  • Defines the type of the entry point.

    See more

    Declaration

    Swift

    public enum EntryPoint.`Type`
  • Defines the type of the entry point.

    Declaration

    Swift

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

    Declaration

    Swift

    public let position: CLLocationCoordinate2D
  • Returns a Boolean value indicating whether two values are equal. The positions of both values are compared with a small margin of error to accomodate for some roundup error typical for floating-point values.

    Equality is the inverse of inequality. For any values a and b, a == b implies that a != b is false.

    Declaration

    Swift

    public static func == (lhs: EntryPoint, rhs: EntryPoint) -> Bool

    Parameters

    lhs

    A value to compare.

    rhs

    Another value to compare.

    Return Value

    True if both entry points are equal.