Add documentation for NavigationController's showCompass and showZoom options

This commit is contained in:
Chris Catignani 2018-03-01 12:28:14 -05:00
parent b50de38ab0
commit dc628e078a

View File

@ -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.