diff --git a/src/types/lib.ts b/src/types/lib.ts index ef2d6aa5d..ac20ab405 100644 --- a/src/types/lib.ts +++ b/src/types/lib.ts @@ -81,6 +81,18 @@ export interface MapInstance extends Evented { triggerRepaint(): void; + getCenter(): LngLat; + + getZoom(): number; + + getBearing(): number; + + getPitch(): number; + + getPadding(): PaddingOptions; + + getRenderWorldCopies(): boolean; + setPadding(padding: PaddingOptions); fitBounds(bounds: any, options?: any);