/mapview/interactions/zoom

The module exports the zoom interaction method which is bound to a mapview in the decorator method.

Methods

(inner) zoom(params, mapview)

Defines the behaviour for a zoom interaction performed on the map.

Parameters:
NameTypeDescription
paramsobject

The params object is spread into the interaction defaults.

mapviewmapview

The mapview object to which the interaction will be added.