-
Undocumented
Declaration
Swift
public var category: String? -
Undocumented
Declaration
Swift
public var coordinates: CLLocationCoordinate2D? { get } -
Undocumented
Declaration
Swift
public var mapboxId: String -
Undocumented
Declaration
Swift
public var name: String? -
Initializes a new instance of
ResultChildMetadatawith optional category, coordinates, and name, and a requiredmapboxId.Declaration
Swift
public init( mapboxId: String, name: String? = nil, category: String? = nil, coordinate: CLLocationCoordinate2D? = nil )Parameters
mapboxIdA required
Stringthat uniquely identifies the Mapbox object. This is a required parameter and must be provided during initialization.nameAn optional
Stringrepresenting the name of the result.categoryAn optional
Stringrepresenting the category of the result.coordinateAn optional
CLLocationCoordinate2Drepresenting the geographical location associated with the result. If provided, it is transformed to aCLLocationCoordinate2DCodableinstance for storage.
ResultChildMetadata Structure Reference