POICategory
public struct POICategory
Structure containing POI category details.
-
Creates a new POICategory
Declaration
Swift
public init( id: POICategoryID, name: String, parents: [POICategoryID] = [], children: [POICategoryID] = [], synonyms: [String] = [] )
-
Unique ID for the category.
Declaration
Swift
public let id: POICategoryID
-
Name of the category.
Declaration
Swift
public let name: String
-
The parent category identifiers for the given category.
Declaration
Swift
public let parents: [POICategoryID]
-
The children of the category.
Declaration
Swift
public let children: [POICategoryID]
-
List of alternative names for the category.
Declaration
Swift
public let synonyms: [String]