PolylinesController class
This class manages a set of PolylinesControllers associated to a GoogleMapController.
Constructors
-
PolylinesController({required StreamController<
MapEvent< stream})Object?> > - Initializes the cache. The StreamController comes from the GoogleMapController, and is shared with other controllers.
Properties
- googleMap ↔ GMap
-
The GMap instance that this controller operates on.
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
lines
→ Map<
PolylineId, PolylineController> -
Returns the cache of
PolylineContrller
s. Test only.no setter - mapId ↔ int
-
The map ID for events.
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addPolylines(
Set< Polyline> polylinesToAdd) → void -
Adds a set of
Polyline
objects to the cache. -
bindToMap(
int mapId, GMap googleMap) → void -
Binds a
mapId
and thegmaps.GMap
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
PolylineId
s from the cache. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited