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