MapMovedEvent class

Constructors

MapMovedEvent({required LatLng latLng, String? title, String? address, required double zoom, required LatLngBounds bounds, required MapMoveEventType type, MapMoveSource source = MapMoveSource.unknown, double bearing = 0})
MapMovedEvent.addressResolved({required LatLng latLng, required double zoom, required LatLngBounds bounds, String? title, String? address, MapMoveSource source = MapMoveSource.unknown, double bearing = 0})
factory
MapMovedEvent.idle({required LatLng latLng, required double zoom, required LatLngBounds bounds, MapMoveSource source = MapMoveSource.unknown, double bearing = 0})
factory
MapMovedEvent.start({required LatLng latLng, required double zoom, required LatLngBounds bounds, MapMoveSource source = MapMoveSource.unknown, double bearing = 0})
factory

Properties

address → String?
final
bearing → double
The direction the top of the map points, in degrees clockwise from north. 0 while the map is north up, which is where moveCamera and fitBounds leave it; anything else is setCamera's doing, or the user turning the map with two fingers.
final
bounds → LatLngBounds
final
hashCode → int
The hash code for this object.
no setterinherited
isProgrammatic → bool
Whether this move came from the app's own camera call.
no setter
isStart → bool
no setter
isUserGesture → bool
Whether the user moved the map, as opposed to the app or the map itself.
no setter
latLng → LatLng
final
place → Place
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
source → MapMoveSource
What moved the camera.
final
title → String?
final
type ↔ MapMoveEventType
getter/setter pair
zoom → double
final

Methods

copyWith({MapMoveEventType? type, LatLng? latLng, String? title, String? address, double? zoom, LatLngBounds? bounds, MapMoveSource? source, double? bearing}) → MapMovedEvent
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

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