NearbyPlace
public struct NearbyPlace : Hashable
Represents the nearby place at the charging location. Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.
-
Globally unique identifier of the HERE Place, enabling the client to fetch more information about the Place using the Lookup endpoint of the HERE Geocoding and Search API.
Declaration
Swift
public var placeID: String -
The subset of the place’s categories that are considered relevant as conveniences for drivers during EV charging. The set can include for example rest areas, cafes, and fast food restaurants. The set may be used for example to show icons associated with the EV charging location in a user interface. The categories are represented by ids defined in https://docs.here.com/geocoding-and-search/docs/places-category-system-full
Declaration
Swift
public var categories: [String] -
Approximate distance from the charging location to the place, in meters.
Declaration
Swift
public var distance: Double? -
Creates a new instance.
Declaration
Swift
public init(placeID: String = "", categories: [String] = [], distance: Double? = nil)