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 and may contain bugs or exhibit unexpected behaviour. Related APIs are subject to change 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.