mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-06 07:47:04 +00:00
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:
Vendored
+1
-1
@@ -399,7 +399,7 @@ declare namespace mapboxgl {
|
||||
* Navigation
|
||||
*/
|
||||
export class NavigationControl extends Control {
|
||||
constructor();
|
||||
constructor(options?: {showCompass?: boolean, showZoom?: boolean});
|
||||
}
|
||||
|
||||
export class PositionOptions {
|
||||
|
||||
Reference in New Issue
Block a user