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
This commit is contained in:
tkohr
2018-04-10 10:30:46 -07:00
committed by Mohamed Hegazy
parent 354aa1f293
commit b98b4e9c9a
+1 -1
View File
@@ -399,7 +399,7 @@ declare namespace mapboxgl {
* Navigation
*/
export class NavigationControl extends Control {
constructor();
constructor(options?: {showCompass?: boolean, showZoom?: boolean});
}
export class PositionOptions {