Skip to content

Map.ScrollWheelZoom

Handler.ScrollWheelZoom is used by Map to enable mouse scroll wheel zoom on the map.

Mouse wheel options

OptionTypeDefaultDescription
scrollWheelZoom`BooleanString`true
wheelDebounceTimeNumber40Limits the rate at which a wheel can fire (in milliseconds). By default, the
wheelPxPerZoomLevelNumber60How many scroll pixels (as reported by DomEvent.getWheelDelta)