We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 424b516 commit ec7f8bfCopy full SHA for ec7f8bf
src/types/lib.ts
@@ -77,6 +77,8 @@ export interface MapInstance extends Evented {
77
78
getCanvas(): HTMLCanvasElement;
79
80
+ getCanvasContainer(): HTMLElement;
81
+
82
remove(): void;
83
84
triggerRepaint(): void;
@@ -182,7 +184,7 @@ export interface ScaleControlInstance extends IControl {
182
184
/**
183
185
* A user-facing type that represents the minimal intersection between Mapbox and Maplibre
186
* User provided `mapLib` is supposed to implement this interface
- * Only losely typed for compatibility
187
+ * Only loosely typed for compatibility
188
*/
189
export interface MapLib<MapT extends MapInstance> {
190
supported?: (options: any) => boolean;
0 commit comments