Skip to content

Commit

Permalink
Update common type for compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Pessimistress committed Dec 12, 2024
1 parent 7a415a4 commit 72e92bb
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/types/lib.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 72e92bb

Please sign in to comment.