mirror of
https://github.com/visgl/react-map-gl.git
synced 2026-01-18 15:54:22 +00:00
Add documentation for NavigationController's showCompass and showZoom options
This commit is contained in:
parent
b50de38ab0
commit
dc628e078a
@ -26,6 +26,12 @@ class Map extends Component {
|
||||
##### `onViewportChange` {Function}
|
||||
Callback when the viewport needs to be updated. See [InteractiveMap](/docs/components/interactive-map.md).
|
||||
|
||||
#### `showCompass` {Boolean} - default `true`
|
||||
Show or hide the compass button
|
||||
|
||||
#### `showZoom` {Boolean} - default `true`
|
||||
Show or hide the zoom buttons
|
||||
|
||||
##### `captureScroll` {Boolean} - default: `false`
|
||||
Stop propagation of mouse wheel event to the map component. Can be used to stop map from zooming when this component is scrolled.
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user