LineDataAccessor (API Reference)
Package com.here.sdk.mapview.datasource
Class LineDataAccessor
java.lang.Object
com.here.NativeBase
com.here.sdk.mapview.datasource.LineDataAccessor
Line data accessor used for manipulating polylines that are part of a LineDataSource.
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
Modifier and TypeMethodDescriptionGets polyline attributes accessor.Gets polyline geometry.voidsetAttributes(DataAttributes attributes) Replaces polyline attributes.voidsetGeometry(GeoPolyline geometry) Replaces polyline geometry.
-
Method Details
-
getGeometry
Gets polyline geometry.
- Returns:
The line geometry.
-
getAttributes
Gets polyline attributes accessor.
- Returns:
The polyline attributes accessor.
-
setGeometry
Replaces polyline geometry. Altitude of the vertices is ignored.
- Parameters:
geometry-The geometry.
-
setAttributes
Replaces polyline attributes.
- Parameters:
attributes-The attributes.
-