Class MapObjectDescriptor

java.lang.Object
com.here.NativeBase
com.here.sdk.mapview.MapObjectDescriptor

public final class MapObjectDescriptor extends NativeBase

Interface represents descriptor of a pickable map object.

  • Method Details

    • getLayerName

      @NonNull public String getLayerName()

      Returns the name of the layer where this picked item came from.

      Returns:

      The name of the layer map object belongs to.

    • getDataAttributes

      @NonNull public DataAttributes getDataAttributes()

      Returns data attributes of a map object.

      Returns:

      The data attributes of a map object.

    • getClosestPoint

      @Nullable public GeoCoordinates getClosestPoint()

      Return a geo point of the picked object, closest to the picking location. For polygons and polylines null is returned.

      Returns:

      The coordinates of a map object.