Class PickedPlace

java.lang.Object
com.here.sdk.core.PickedPlace

public final class PickedPlace extends Object

Carries the result of picking a Carto POI (point of interest) object.

  • Field Details

    • name

      @NonNull public 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 String placeCategoryId

      The place category ID of the POI. This is the same String value as PlaceCategory.id that can be obtained from the SearchEngine and the OfflineSearchEngine. Note that not all editions include the OfflineSearchEngine.

    • offlineSearchId

      @NonNull public String offlineSearchId

      The place ID to query an offline search to obtain additional data about this POI with the OfflineSearchEngine. Note that not all editions include the OfflineSearchEngine.

  • Constructor Details

    • PickedPlace

      public PickedPlace(@NonNull String name, @NonNull GeoCoordinates coordinates, @NonNull 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.id that can be obtained from the SearchEngine and the OfflineSearchEngine. Note that not all editions include the OfflineSearchEngine.

  • Method Details