From dc628e078ac4013d8d54400fe5ea13d357760e18 Mon Sep 17 00:00:00 2001 From: Chris Catignani Date: Thu, 1 Mar 2018 12:28:14 -0500 Subject: [PATCH] Add documentation for NavigationController's showCompass and showZoom options --- docs/components/navigation-control.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/components/navigation-control.md b/docs/components/navigation-control.md index 23fbe02b..ea80721e 100644 --- a/docs/components/navigation-control.md +++ b/docs/components/navigation-control.md @@ -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.