Class 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 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.