ScrollZoomHandler class
Properties
hashCode
→ int
The hash code for this object.
no setter inherited
jsObject
→ ScrollZoomHandlerJsImpl
JS object.
final inherited
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
Methods
disable ()
→ dynamic
Disables the "scroll to zoom" interaction.
enable ([dynamic options ])
→ dynamic
Enables the "scroll to zoom" interaction.
isActive ()
→ bool
Active state is turned on and off with every scroll wheel event and is set back to false before the map
render is called, so _active is not a good candidate for determining if a scroll zoom animation is in
progress.
isEnabled ()
→ bool
Returns a Boolean indicating whether the "scroll to zoom" interaction is enabled.
isZooming ()
→ bool
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onWheel (WheelEvent e )
→ dynamic
setWheelZoomRate (num wheelZoomRate )
→ dynamic
Set the zoom rate of a mouse wheel
@param {number} wheelZoomRate = 1/450
setZoomRate (num zoomRate )
→ dynamic
Set the zoom rate of a trackpad
@param {number} zoomRate = 1/100
toString ()
→ String
A string representation of this object.
inherited