diff --git a/docs/api/README.md b/docs/api/README.md index c7365d69..b05c1d88 100644 --- a/docs/api/README.md +++ b/docs/api/README.md @@ -295,6 +295,13 @@ - **Description:** A `fitBounds` object to use only when fitting the initial `bounds` provided above - **See:** `options.fitBoundsOptions` in [Map](https://docs.mapbox.com/mapbox-gl-js/api/#map) +### `cooperativeGestures` + +- **Type:** `Boolean` +- **Default:** `true` +- **Description:** If true , scroll zoom will require pressing the ctrl or ⌘ key while scrolling to zoom map +- **See:** `options.cooperativeGestures` in [Map](https://docs.mapbox.com/mapbox-gl-js/api/#map) + ## Actions Asynchronous actions exposed via `GlMap.actions` diff --git a/src/components/map/options.js b/src/components/map/options.js index 8ce369a0..16c5bc99 100644 --- a/src/components/map/options.js +++ b/src/components/map/options.js @@ -186,5 +186,9 @@ export default { crossSourceCollisions: { type: Boolean, default: true + }, + cooperativeGestures: { + type: Boolean, + default: true } };