Class PickedPlace
Package com.here.sdk.core
Class PickedPlace
- java.lang.Object
-
- com.here.sdk.core.PickedPlace
-
public final class PickedPlace extends java.lang.ObjectCarries the result of picking a Carto POI (point of interest) object.
-
-
Field Summary
Fields Modifier and Type Field Description GeoCoordinatescoordinatesThe geographic coordinates of the POI.java.lang.StringnameThe name of the POI localized in the currently selected map language.java.lang.StringplaceCategoryIdThe place category ID of the POI.
-
Constructor Summary
Constructors Constructor Description PickedPlace(java.lang.String name, GeoCoordinates coordinates, java.lang.String placeCategoryId)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)inthashCode()
-
-
-
Field Detail
-
name
@NonNull public java.lang.String name
The name of the POI localized in the currently selected map language.
-
coordinates
@NonNull public GeoCoordinates coordinates
The geographic coordinates of the POI.
-
placeCategoryId
@NonNull public java.lang.String placeCategoryId
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.
-
-
Constructor Detail
-
PickedPlace
public PickedPlace(@NonNull java.lang.String name, @NonNull GeoCoordinates coordinates, @NonNull java.lang.String placeCategoryId)Creates a new instance.
- Parameters:
name-The name of the POI localized in the currently selected map language.
coordinates-The geographic coordinates of the POI.
placeCategoryId-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.
-
-