Skip to content

Commit a963f4d

Browse files
committed
Update common type for compatibility
1 parent 7a415a4 commit a963f4d

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/types/lib.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,18 @@ export interface MapInstance extends Evented {
8181

8282
triggerRepaint(): void;
8383

84+
getCenter(): LngLat;
85+
86+
getZoom(): number;
87+
88+
getBearing(): number;
89+
90+
getPitch(): number;
91+
92+
getPadding(): PaddingOptions;
93+
94+
getRenderWorldCopies(): boolean;
95+
8496
setPadding(padding: PaddingOptions);
8597

8698
fitBounds(bounds: any, options?: any);

0 commit comments

Comments
 (0)