MapObjectDescriptor (API Reference)
Package com.here.sdk.mapview
Class MapObjectDescriptor
java.lang.Object
com.here.NativeBase
com.here.sdk.mapview.MapObjectDescriptor
Interface represents descriptor of a pickable map object.
-
Method Summary
Modifier and TypeMethodDescriptionReturn a geo point of the picked object, closest to the picking location.Returns data attributes of a map object.Returns the name of the layer where this picked item came from.
-
Method Details
-
getLayerName
Returns the name of the layer where this picked item came from.
- Returns:
The name of the layer map object belongs to.
-
getDataAttributes
Returns data attributes of a map object.
- Returns:
The data attributes of a map object.
-
getClosestPoint
Return a geo point of the picked object, closest to the picking location. For polygons and polylines
nullis returned.- Returns:
The coordinates of a map object.
-