Class LineDataAccessor
Package com.here.sdk.mapview.datasource
Class LineDataAccessor
- java.lang.Object
-
- com.here.NativeBase
-
- com.here.sdk.mapview.datasource.LineDataAccessor
-
public final class LineDataAccessor extends NativeBase
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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataAttributesAccessorgetAttributes()Gets polyline attributes accessor.GeoPolylinegetGeometry()Gets polyline geometry.voidsetAttributes(DataAttributes attributes)Replaces polyline attributes.voidsetGeometry(GeoPolyline geometry)Replaces polyline geometry.
-
-
-
Method Detail
-
getGeometry
@NonNull public GeoPolyline getGeometry()
Gets polyline geometry.
- Returns:
The line geometry.
-
getAttributes
@NonNull public DataAttributesAccessor getAttributes()
Gets polyline attributes accessor.
- Returns:
The polyline attributes accessor.
-
setGeometry
public void setGeometry(@NonNull GeoPolyline geometry)Replaces polyline geometry. Altitude of the vertices is ignored.
- Parameters:
geometry-The geometry.
-
setAttributes
public void setAttributes(@NonNull DataAttributes attributes)Replaces polyline attributes.
- Parameters:
attributes-The attributes.
-
-