/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:
| Name | Type | Description |
|---|---|---|
params | object | The params object is spread into the interaction defaults. |
mapview | mapview | The mapview object to which the interaction will be added. |