PolygonDataSource class abstract
Polygon data source allows the rendering engine access to the user provided polygons geometry and their attributes.
Polygon segments are rendered following the shortest path between their end points.
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.
Constructors
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(
PolygonData polygon) → void - Adds a new polygon to the data source.
-
addPolygons(
List< PolygonData> polygons) → void - Adds new polygons to the data source.
-
destroy(
) → void - Frees all internally used resources.
-
forEach(
PolygonDataSourcePolygonDataProcessor processor) → void - Iterates through all the polygons 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 polygons from the data source.
-
removeIf(
PolygonDataSourcePolygonDataProcessor inspector) → void - Iterates through all the polygons 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