PointDataAccessor
public class PointDataAccessor
extension PointDataAccessor: NativeBase
extension PointDataAccessor: Hashable
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.
-
Gets point coordinates.
Declaration
Swift
public func getCoordinates() -> GeoCoordinatesReturn Value
The point coordinates.
-
Gets point attributes accessor.
Declaration
Swift
public func getAttributes() -> DataAttributesAccessorReturn Value
The point attributes accessor.
-
Updates point coordinates.
Declaration
Swift
public func setCoordinates(_ position: GeoCoordinates)Parameters
positionThe new point coordinates.
-
Replaces point attributes.
Declaration
Swift
public func setAttributes(_ attributes: DataAttributes)Parameters
attributesThe new point attributes.