MapEventWithMove class abstract
Base event class which is emitted by MapController instance and includes information about camera movement
- Inheritance
- Implementers
Constructors
- MapEventWithMove({required LatLng targetCenter, required double targetZoom, required MapEventSource source, required LatLng center, required double zoom})
-
const
Properties
- center → LatLng
-
Geographical coordinates related to current event.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- source → MapEventSource
-
Who / what issued the event.
finalinherited
- targetCenter → LatLng
-
Target coordinates of point where map is being pointed to
final
- targetZoom → double
-
Zoom value of point where map is being pointed to
final
- zoom → double
-
Zoom value related to current event.
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromSource(
{required LatLng targetCenter, required double targetZoom, required LatLng oldCenter, required double oldZoom, required bool hasGesture, required MapEventSource source, String? id}) → MapEventWithMove? -
Returns a subclass of MapEventWithMove if the
source
belongs to a movement event, otherwise returns null.