MapTileLayerController class
Provides options for adding, removing, deleting, updating markers collection and converting pixel points to latitude and longitude.
- Inheritance
-
- Object
- ChangeNotifier
- MapLayerController
- MapTileLayerController
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasListeners → bool
-
Whether any listeners are currently registered.
no setterinherited
- markersCount → int
-
Returns the current markers count.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addListener(
Object listener) → void -
Register a closure to be called when the object changes.
inherited
-
clearMarkers(
) → void -
Clears all the markers.
inherited
-
dispose(
) → void -
Discards any resources used by the object. After this is called, the
object is not in a usable state and should be discarded (calls to
addListener will throw after the object is disposed).
inherited
-
insertMarker(
int index) → void -
Adds marker dynamically in the provided index.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notifyListeners(
) → void -
Call all the registered listeners.
inherited
-
pixelToLatLng(
Offset position) → MapLatLng - Converts pixel point to MapLatLng.
-
removeListener(
Object listener) → void -
Remove a previously registered closure from the list of closures that are
notified when the object changes.
inherited
-
removeMarkerAt(
int index) → void -
Removes the marker in the provided index.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
updateMarkers(
List< int> indices) → void -
Updates the markers in the given indices dynamically.
See also:
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited