PolylinesController class

This class manages a set of PolylinesControllers associated to a GoogleMapController.

Inheritance

Constructors

PolylinesController({required StreamController<MapEvent<Object?>> stream})
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

addPolylines(Set<Polyline> polylinesToAdd) → void
Adds a set of Polyline objects to the cache.
bindToMap(int mapId, WebView webview) → void
Binds a mapId and the map instance to this controller.
inherited
changePolylines(Set<Polyline> polylinesToChange) → void
Updates a set of Polyline objects with new options.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removePolylines(Set<PolylineId> polylineIdsToRemove) → void
Removes a set of PolylineIds from the cache.
toString() String
A string representation of this object.
inherited

Operators

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