PickedPlace
public struct PickedPlace : Hashable
Carries the result of picking a Carto POI (point of interest) object.
-
The name of the POI localized in the currently selected map language.
Declaration
Swift
public var name: String -
The geographic coordinates of the POI.
Declaration
Swift
public var coordinates: GeoCoordinates -
The place category ID of the POI. This is the same String value as
PlaceCategory.idthat can be obtained from theSearchEngineand theOfflineSearchEngine. Note that not all editions include theOfflineSearchEngine.Declaration
Swift
public var placeCategoryId: String -
Creates a new instance.
Declaration
Swift
public init(name: String, coordinates: GeoCoordinates, placeCategoryId: String)