From b98b4e9c9a6da80d4a22d18dff3a0f260566a098 Mon Sep 17 00:00:00 2001 From: tkohr Date: Tue, 10 Apr 2018 19:30:46 +0200 Subject: [PATCH] Add missing options to NavigationControl (#24878) Add boolean options showCompass and showZoom to NavigationControl like documented: https://www.mapbox.com/mapbox-gl-js/api/#navigationcontrol --- types/mapbox-gl/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/mapbox-gl/index.d.ts b/types/mapbox-gl/index.d.ts index 24dca985e4..b6a63ef9dd 100644 --- a/types/mapbox-gl/index.d.ts +++ b/types/mapbox-gl/index.d.ts @@ -399,7 +399,7 @@ declare namespace mapboxgl { * Navigation */ export class NavigationControl extends Control { - constructor(); + constructor(options?: {showCompass?: boolean, showZoom?: boolean}); } export class PositionOptions {