POI
public struct POI : HorizonElement
Describes path geometry of the horizon element
Important
This is a Public Preview API. It may be changed or removed at any time.-
Declaration
Swift
public let elementType: HorizonElementType
-
Declaration
Swift
public let id: Int
-
Declaration
Swift
public let pathID: Int
-
Declaration
Swift
public let startOffset: Measurement<UnitLength>
-
Declaration
Swift
public let endOffset: Measurement<UnitLength>
-
Identifier of the POI entry.
Declaration
Swift
public let entryId: Int
-
Category of the POI.
Declaration
Swift
public let category: Int
-
Name of the POI category.
Declaration
Swift
public let categoryName: String
-
Collection of POI Brand names.
Declaration
Swift
public let brandNames: [String]
-
Name of the POI.
Declaration
Swift
public let name: String
-
Coordinate of the POI.
Declaration
Swift
public let coordinate: CLLocationCoordinate2D
-
Coordinate of the POI entry point.
Declaration
Swift
public let entryPointCoordinate: CLLocationCoordinate2D
-
POI zone buffer radius.
Declaration
Swift
public let bufferRadius: Measurement<UnitLength>
-
Formatted identifier of the POI. The encoding is as follows: nds:productId:updateRegionId:localPoiId where productId, updateRegionId and localPoiId are map-specific values.
Declaration
Swift
public let formattedId: String
-
Identifiers of the POI parent categories.
Declaration
Swift
public let parentCategories: [Int]
-
Subtype of the POI.
Declaration
Swift
public let subscribedCategory: Int
-
Type of the POI.
Declaration
Swift
public let type: PoiType