Class PointDataAccessor
Package com.here.sdk.mapview.datasource
Class PointDataAccessor
- java.lang.Object
-
- com.here.NativeBase
-
- com.here.sdk.mapview.datasource.PointDataAccessor
-
public final class PointDataAccessor extends NativeBase
Point data accessor used for manipulating points that are part of a PointDataSource.
Note: This is a beta release of this feature, so there could be a few bugs and unexpected behavior. Related APIs may change for new releases without a deprecation process.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataAttributesAccessorgetAttributes()Gets point attributes accessor.GeoCoordinatesgetCoordinates()Gets point coordinates.voidsetAttributes(DataAttributes attributes)Replaces point attributes.voidsetCoordinates(GeoCoordinates position)Updates point coordinates.
-
-
-
Method Detail
-
getCoordinates
@NonNull public GeoCoordinates getCoordinates()
Gets point coordinates.
- Returns:
The point coordinates.
-
getAttributes
@NonNull public DataAttributesAccessor getAttributes()
Gets point attributes accessor.
- Returns:
The point attributes accessor.
-
setCoordinates
public void setCoordinates(@NonNull GeoCoordinates position)Updates point coordinates.
- Parameters:
position-The new point coordinates.
-
setAttributes
public void setAttributes(@NonNull DataAttributes attributes)Replaces point attributes.
- Parameters:
attributes-The new point attributes.
-
-