LineDataSource class abstract

Polyline data source allows the rendering engine access to the user provided polylines geometry and their attributes.

Polyline segments are rendered following the shortest path between their end vertices.

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.

Constructors

LineDataSource()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

add(LineData line) → void
Adds a new line to the data source.
addLines(List<LineData> lines) → void
Adds new lines to the data source.
destroy() → void
Frees all internally used resources.
forEach(LineDataSourceLineDataProcessor processor) → void
Iterates through all the lines from the data source and passes them to the given processor, one by one.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeAll() → void
Removes all lines from the data source.
removeIf(LineDataSourceLineDataProcessor inspector) → void
Iterates through all the lines from the data source and passes them to the given inspector, one by one.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited