LineDataAccessor
public class LineDataAccessor
extension LineDataAccessor: NativeBase
extension LineDataAccessor: Hashable
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.
-
Gets polyline geometry.
Declaration
Swift
public func getGeometry() -> GeoPolylineReturn Value
The line geometry.
-
Gets polyline attributes accessor.
Declaration
Swift
public func getAttributes() -> DataAttributesAccessorReturn Value
The polyline attributes accessor.
-
Replaces polyline geometry. Altitude of the vertices is ignored.
Declaration
Swift
public func setGeometry(_ geometry: GeoPolyline)Parameters
geometryThe geometry.
-
Replaces polyline attributes.
Declaration
Swift
public func setAttributes(_ attributes: DataAttributes)Parameters
attributesThe attributes.