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
typeType of the entry point.
positionPosition of the entry point (latitude and longitude).
-
Defines the type of the entry point.
See moreDeclaration
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
aandb,a == bimplies thata != bisfalse.Declaration
Swift
public static func == (lhs: EntryPoint, rhs: EntryPoint) -> BoolParameters
lhsA value to compare.
rhsAnother value to compare.
Return Value
True if both entry points are equal.
TomTom SDK for iOS (0.53.1)
EntryPoint