Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions docs/api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
4 changes: 4 additions & 0 deletions src/components/map/options.js
Original file line number Diff line number Diff line change
Expand Up @@ -186,5 +186,9 @@ export default {
crossSourceCollisions: {
type: Boolean,
default: true
},
cooperativeGestures: {
type: Boolean,
default: true
}
};