@@ -254,8 +254,6 @@ declare type MapOptions = Omit<MapOptions$1, "style" | "maplibreLogo"> & {
254254 * The Map class can be instanciated to display a map in a `<div>`
255255 */
256256declare class Map extends maplibre_gl__default . Map {
257- private languageShouldUpdate ;
258- private isStyleInitialized ;
259257 private isTerrainEnabled ;
260258 private terrainExaggeration ;
261259 private primaryLanguage ;
@@ -583,36 +581,61 @@ declare class Point {
583581declare const supported : _mapbox_mapbox_gl_supported . IsSupported ;
584582declare const setRTLTextPlugin : ( url : string , callback : ( error ?: Error ) => void , deferred ?: boolean ) => void ;
585583declare const getRTLTextPluginStatus : ( ) => string ;
584+ declare const prewarm : ( ) => void ;
585+ declare const clearPrewarmedResources : ( ) => void ;
586+ declare const version : string ;
587+ declare const workerCount : number ;
588+ declare const maxParallelImageRequests : number ;
589+ declare const clearStorage : ( callback ?: ( err ?: Error ) => void ) => void ;
590+ declare const workerUrl : string ;
591+ declare const addProtocol : ( customProtocol : string , loadFn : ( requestParameters : maplibre_gl . RequestParameters , callback : maplibre_gl . ResponseCallback < any > ) => maplibre_gl . Cancelable ) => void ;
592+ declare const removeProtocol : ( customProtocol : string ) => void ;
593+
586594declare const NavigationControl : typeof maplibre_gl . NavigationControl ;
595+ declare type NavigationControl = InstanceType < typeof NavigationControl > ;
587596declare const GeolocateControl : typeof maplibre_gl . GeolocateControl ;
597+ declare type GeolocateControl = InstanceType < typeof GeolocateControl > ;
588598declare const AttributionControl : typeof maplibre_gl . AttributionControl ;
599+ declare type AttributionControl = InstanceType < typeof AttributionControl > ;
589600declare const LogoControl : typeof maplibre_gl . LogoControl ;
601+ declare type LogoControl = InstanceType < typeof LogoControl > ;
590602declare const ScaleControl : typeof maplibre_gl . ScaleControl ;
603+ declare type ScaleControl = InstanceType < typeof ScaleControl > ;
591604declare const FullscreenControl : typeof maplibre_gl . FullscreenControl ;
605+ declare type FullscreenControl = InstanceType < typeof FullscreenControl > ;
592606declare const TerrainControl : typeof maplibre_gl . TerrainControl ;
607+ declare type TerrainControl = InstanceType < typeof TerrainControl > ;
593608declare const Popup : typeof maplibre_gl . Popup ;
609+ declare type Popup = InstanceType < typeof Popup > ;
594610declare const Marker : typeof maplibre_gl . Marker ;
611+ declare type Marker = InstanceType < typeof Marker > ;
595612declare const Style : typeof maplibre_gl . Style ;
613+ declare type Style = InstanceType < typeof Style > ;
596614declare const LngLat : typeof maplibre_gl . LngLat ;
615+ declare type LngLat = InstanceType < typeof LngLat > ;
597616declare const LngLatBounds : typeof maplibre_gl . LngLatBounds ;
617+ declare type LngLatBounds = InstanceType < typeof LngLatBounds > ;
598618declare const MercatorCoordinate : typeof maplibre_gl . MercatorCoordinate ;
619+ declare type MercatorCoordinate = InstanceType < typeof MercatorCoordinate > ;
599620declare const Evented : typeof maplibre_gl . Evented ;
621+ declare type Evented = InstanceType < typeof Evented > ;
600622declare const AJAXError : typeof maplibre_gl . AJAXError ;
623+ declare type AJAXError = InstanceType < typeof AJAXError > ;
601624declare const CanvasSource : typeof maplibre_gl . CanvasSource ;
625+ declare type CanvasSource = InstanceType < typeof CanvasSource > ;
602626declare const GeoJSONSource : typeof maplibre_gl . GeoJSONSource ;
627+ declare type GeoJSONSource = InstanceType < typeof GeoJSONSource > ;
603628declare const ImageSource : typeof maplibre_gl . ImageSource ;
629+ declare type ImageSource = InstanceType < typeof ImageSource > ;
604630declare const RasterDEMTileSource : typeof maplibre_gl . RasterDEMTileSource ;
631+ declare type RasterDEMTileSource = InstanceType < typeof RasterDEMTileSource > ;
605632declare const RasterTileSource : typeof maplibre_gl . RasterTileSource ;
633+ declare type RasterTileSource = InstanceType < typeof RasterTileSource > ;
606634declare const VectorTileSource : typeof maplibre_gl . VectorTileSource ;
635+ declare type VectorTileSource = InstanceType < typeof VectorTileSource > ;
607636declare const VideoSource : typeof maplibre_gl . VideoSource ;
608- declare const prewarm : ( ) => void ;
609- declare const clearPrewarmedResources : ( ) => void ;
610- declare const version : string ;
611- declare const workerCount : number ;
612- declare const maxParallelImageRequests : number ;
613- declare const clearStorage : ( callback ?: ( err ?: Error ) => void ) => void ;
614- declare const workerUrl : string ;
615- declare const addProtocol : ( customProtocol : string , loadFn : ( requestParameters : maplibre_gl . RequestParameters , callback : maplibre_gl . ResponseCallback < any > ) => maplibre_gl . Cancelable ) => void ;
616- declare const removeProtocol : ( customProtocol : string ) => void ;
637+ declare type VideoSource = InstanceType < typeof VideoSource > ;
638+ declare const MapMLGL : typeof maplibre_gl . Map ;
639+ declare type MapMLGL = InstanceType < typeof MapMLGL > ;
617640
618- export { AJAXError , AttributionControl , CanvasSource , Evented , FullscreenControl , GeoJSONSource , GeolocateControl , GeolocationType , ImageSource , Language , LanguageKey , LanguageString , LngLat , LngLatBounds , LogoControl , Map , MapOptions , MaptilerGeolocateControl , MaptilerLogoControl , MaptilerTerrainControl , Marker , Matrix2 , MercatorCoordinate , NavigationControl , Point , Popup , RasterDEMTileSource , RasterTileSource , ScaleControl , SdkConfig , Style , TerrainControl , Unit , VectorTileSource , VideoSource , addProtocol , clearPrewarmedResources , clearStorage , config , getRTLTextPluginStatus , maxParallelImageRequests , prewarm , removeProtocol , setRTLTextPlugin , supported , version , workerCount , workerUrl } ;
641+ export { AJAXError , AttributionControl , CanvasSource , Evented , FullscreenControl , GeoJSONSource , GeolocateControl , GeolocationType , ImageSource , Language , LanguageKey , LanguageString , LngLat , LngLatBounds , LogoControl , Map , MapMLGL , MapOptions , MaptilerGeolocateControl , MaptilerLogoControl , MaptilerTerrainControl , Marker , Matrix2 , MercatorCoordinate , NavigationControl , Point , Popup , RasterDEMTileSource , RasterTileSource , ScaleControl , SdkConfig , Style , TerrainControl , Unit , VectorTileSource , VideoSource , addProtocol , clearPrewarmedResources , clearStorage , config , getRTLTextPluginStatus , maxParallelImageRequests , prewarm , removeProtocol , setRTLTextPlugin , supported , version , workerCount , workerUrl } ;
0 commit comments