@@ -427,14 +427,69 @@ declare class VideoSource extends maplibre_gl__default.VideoSource {
427427 onAdd ( map : Map | Map$1 ) : void ;
428428}
429429
430- declare const GeolocateControl$1 : typeof maplibre_gl . GeolocateControl ;
430+ /**
431+ * This is an extension of MapLibre NavigationControl to make it fully type compatible with the SDK
432+ */
433+
434+ declare class NavigationControl extends maplibre_gl__default . NavigationControl {
435+ onAdd ( map : Map | Map$1 ) : HTMLElement ;
436+ }
437+
438+ /**
439+ * This is an extension of MapLibre GeolocateControl to make it fully type compatible with the SDK
440+ */
441+
442+ declare class GeolocateControl extends maplibre_gl__default . GeolocateControl {
443+ onAdd ( map : Map | Map$1 ) : HTMLElement ;
444+ }
445+
446+ /**
447+ * This is an extension of MapLibre AttributionControl to make it fully type compatible with the SDK
448+ */
449+
450+ declare class AttributionControl extends maplibre_gl__default . AttributionControl {
451+ onAdd ( map : Map | Map$1 ) : HTMLElement ;
452+ }
453+
454+ /**
455+ * This is an extension of MapLibre LogoControl to make it fully type compatible with the SDK
456+ */
457+
458+ declare class LogoControl extends maplibre_gl__default . LogoControl {
459+ onAdd ( map : Map | Map$1 ) : HTMLElement ;
460+ }
461+
462+ /**
463+ * This is an extension of MapLibre ScaleControl to make it fully type compatible with the SDK
464+ */
465+
466+ declare class ScaleControl extends maplibre_gl__default . ScaleControl {
467+ onAdd ( map : Map | Map$1 ) : HTMLElement ;
468+ }
469+
470+ /**
471+ * This is an extension of MapLibre FullscreenControl to make it fully type compatible with the SDK
472+ */
473+
474+ declare class FullscreenControl extends maplibre_gl__default . FullscreenControl {
475+ onAdd ( map : Map | Map$1 ) : HTMLElement ;
476+ }
477+
478+ /**
479+ * This is an extension of MapLibre TerrainControl to make it fully type compatible with the SDK
480+ */
481+
482+ declare class TerrainControl extends maplibre_gl__default . TerrainControl {
483+ onAdd ( map : Map | Map$1 ) : HTMLElement ;
484+ }
485+
431486/**
432487 * The MaptilerGeolocateControl is an extension of the original GeolocateControl
433488 * with a few changes. In this version, the active mode persists as long as the
434489 * location is still centered. This means it's robust to rotation, pitch and zoom.
435490 *
436491 */
437- declare class MaptilerGeolocateControl extends GeolocateControl$1 {
492+ declare class MaptilerGeolocateControl extends GeolocateControl {
438493 private lastUpdatedCenter ;
439494 /**
440495 * Update the camera location to center on the current position
@@ -456,7 +511,7 @@ declare type LogoOptions = LogoOptions$1 & {
456511 * This LogoControl extends the MapLibre LogoControl but instead can use any image URL and
457512 * any link URL. By default this is using MapTiler logo and URL.
458513 */
459- declare class MaptilerLogoControl extends maplibre_gl__default . LogoControl {
514+ declare class MaptilerLogoControl extends LogoControl {
460515 private logoURL ;
461516 private linkURL ;
462517 constructor ( options ?: LogoOptions ) ;
@@ -671,20 +726,20 @@ declare const workerUrl: string;
671726declare const addProtocol : ( customProtocol : string , loadFn : ( requestParameters : maplibre_gl . RequestParameters , callback : maplibre_gl . ResponseCallback < any > ) => maplibre_gl . Cancelable ) => void ;
672727declare const removeProtocol : ( customProtocol : string ) => void ;
673728
674- declare const NavigationControl : typeof maplibre_gl . NavigationControl ;
675- declare type NavigationControl = InstanceType < typeof NavigationControl > ;
676- declare const GeolocateControl : typeof maplibre_gl . GeolocateControl ;
677- declare type GeolocateControl = InstanceType < typeof GeolocateControl > ;
678- declare const AttributionControl : typeof maplibre_gl . AttributionControl ;
679- declare type AttributionControl = InstanceType < typeof AttributionControl > ;
680- declare const LogoControl : typeof maplibre_gl . LogoControl ;
681- declare type LogoControl = InstanceType < typeof LogoControl > ;
682- declare const ScaleControl : typeof maplibre_gl . ScaleControl ;
683- declare type ScaleControl = InstanceType < typeof ScaleControl > ;
684- declare const FullscreenControl : typeof maplibre_gl . FullscreenControl ;
685- declare type FullscreenControl = InstanceType < typeof FullscreenControl > ;
686- declare const TerrainControl : typeof maplibre_gl . TerrainControl ;
687- declare type TerrainControl = InstanceType < typeof TerrainControl > ;
729+ declare const NavigationControlMLGL : typeof maplibre_gl . NavigationControl ;
730+ declare type NavigationControlMLGL = InstanceType < typeof NavigationControlMLGL > ;
731+ declare const GeolocateControlMLGL : typeof maplibre_gl . GeolocateControl ;
732+ declare type GeolocateControlMLGL = InstanceType < typeof GeolocateControlMLGL > ;
733+ declare const AttributionControlMLGL : typeof maplibre_gl . AttributionControl ;
734+ declare type AttributionControlMLGL = InstanceType < typeof AttributionControlMLGL > ;
735+ declare const LogoControlMLGL : typeof maplibre_gl . LogoControl ;
736+ declare type LogoControlMLGL = InstanceType < typeof LogoControlMLGL > ;
737+ declare const ScaleControlMLGL : typeof maplibre_gl . ScaleControl ;
738+ declare type ScaleControlMLGL = InstanceType < typeof ScaleControlMLGL > ;
739+ declare const FullscreenControlMLGL : typeof maplibre_gl . FullscreenControl ;
740+ declare type FullscreenControlMLGL = InstanceType < typeof FullscreenControlMLGL > ;
741+ declare const TerrainControlMLGL : typeof maplibre_gl . TerrainControl ;
742+ declare type TerrainControlMLGL = InstanceType < typeof TerrainControlMLGL > ;
688743declare const MarkerMLGL : typeof maplibre_gl . Marker ;
689744declare type MarkerMLGL = InstanceType < typeof MarkerMLGL > ;
690745declare const PopupMLGL : typeof maplibre_gl . Popup ;
@@ -718,4 +773,4 @@ declare type VideoSourceMLGL = InstanceType<typeof VideoSourceMLGL>;
718773declare const MapMLGL : typeof maplibre_gl . Map ;
719774declare type MapMLGL = InstanceType < typeof MapMLGL > ;
720775
721- export { AJAXError , AttributionControl , CanvasSource , CanvasSourceMLGL , Evented , FullscreenControl , GeoJSONSource , GeoJSONSourceMLGL , GeolocateControl , GeolocationType , ImageSource , ImageSourceMLGL , Language , LanguageKey , LanguageString , LngLat , LngLatBounds , LogoControl , Map , MapMLGL , MapOptions , MaptilerGeolocateControl , MaptilerLogoControl , MaptilerTerrainControl , Marker , MarkerMLGL , Matrix2 , MercatorCoordinate , NavigationControl , Point , Popup , PopupMLGL , RasterDEMTileSource , RasterDEMTileSourceMLGL , RasterTileSource , RasterTileSourceMLGL , ScaleControl , SdkConfig , Style , StyleMLGL , TerrainControl , Unit , VectorTileSource , VectorTileSourceMLGL , VideoSource , VideoSourceMLGL , addProtocol , clearPrewarmedResources , clearStorage , config , getRTLTextPluginStatus , maxParallelImageRequests , prewarm , removeProtocol , setRTLTextPlugin , supported , version , workerCount , workerUrl } ;
776+ export { AJAXError , AttributionControl , AttributionControlMLGL , CanvasSource , CanvasSourceMLGL , Evented , FullscreenControl , FullscreenControlMLGL , GeoJSONSource , GeoJSONSourceMLGL , GeolocateControl , GeolocateControlMLGL , GeolocationType , ImageSource , ImageSourceMLGL , Language , LanguageKey , LanguageString , LngLat , LngLatBounds , LogoControl , LogoControlMLGL , Map , MapMLGL , MapOptions , MaptilerGeolocateControl , MaptilerLogoControl , MaptilerTerrainControl , Marker , MarkerMLGL , Matrix2 , MercatorCoordinate , NavigationControl , NavigationControlMLGL , Point , Popup , PopupMLGL , RasterDEMTileSource , RasterDEMTileSourceMLGL , RasterTileSource , RasterTileSourceMLGL , ScaleControl , ScaleControlMLGL , SdkConfig , Style , StyleMLGL , TerrainControl , TerrainControlMLGL , Unit , VectorTileSource , VectorTileSourceMLGL , VideoSource , VideoSourceMLGL , addProtocol , clearPrewarmedResources , clearStorage , config , getRTLTextPluginStatus , maxParallelImageRequests , prewarm , removeProtocol , setRTLTextPlugin , supported , version , workerCount , workerUrl } ;
0 commit comments