MarkersController class
This class manages a set of MarkerControllers associated to a GoogleMapController
.
- Inheritance
-
- Object
- GeometryController
- MarkersController
Constructors
-
MarkersController({required StreamController<
MapEvent< stream})Object?> > -
Initialize 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
-
addMarkers(
Set< Marker> markersToAdd) → void -
Adds a set of
Marker
objects to the cache. -
bindToMap(
int mapId, WebView webview) → void -
Binds a
mapId
and the map instance to this controller.inherited -
changeMarkers(
Set< Marker> markersToChange) → void -
Updates a set of
Marker
objects with new options. -
hideMarkerInfoWindow(
MarkerId markerId) → void -
Hides the
InfoWindow
of aMarkerId
. -
isInfoWindowShown(
MarkerId markerId) → bool -
Returns whether or not the
InfoWindow
of aMarkerId
is shown. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeMarkers(
Set< MarkerId> markerIdsToRemove) → void -
Removes a set of
MarkerId
s from the cache. -
showMarkerInfoWindow(
MarkerId markerId) → void -
Shows the
InfoWindow
of aMarkerId
. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited