PolygonsController class
This class manages a set of PolygonControllers associated to a GoogleMapController
.
- Inheritance
-
- Object
- GeometryController
- PolygonsController
Constructors
-
PolygonsController({required StreamController<
MapEvent< stream})Object?> > -
Initializes the cache. The StreamController comes from the
GoogleMapController
, and is shared with other controllers.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- mapId ↔ int
-
The map ID for events.
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- webview ↔ WebView
-
The WebView instance that this controller operates on.
getter/setter pairinherited
Methods
-
addPolygons(
Set< Polygon> polygonsToAdd) → void -
Adds a set of
Polygon
objects to the cache. -
bindToMap(
int mapId, WebView webview) → void -
Binds a
mapId
and the map instance to this controller.inherited -
changePolygons(
Set< Polygon> polygonsToChange) → void -
Updates a set of
Polygon
objects with new options. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removePolygons(
Set< PolygonId> polygonIdsToRemove) → void -
Removes a set of
PolygonId
s from the cache. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited