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