@maptiler/sdk 1.2.0 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.cjs +1 -0
- package/dist/maptiler-sdk.css +1 -1
- package/dist/maptiler-sdk.d.ts +190 -241
- package/dist/maptiler-sdk.min.mjs +3 -3
- package/dist/maptiler-sdk.mjs +487 -460
- package/dist/maptiler-sdk.mjs.map +1 -1
- package/package.json +3 -3
- package/readme.md +211 -6
- package/CHANGELOG.md +0 -157
- package/colorramp.md +0 -93
- package/dist/maptiler-sdk.umd.js +0 -6997
- package/dist/maptiler-sdk.umd.js.map +0 -1
- package/dist/maptiler-sdk.umd.min.js +0 -582
- package/src/AttributionControl.ts +0 -13
- package/src/CanvasSource.ts +0 -13
- package/src/FullscreenControl.ts +0 -13
- package/src/GeoJSONSource.ts +0 -13
- package/src/GeolocateControl.ts +0 -13
- package/src/ImageSource.ts +0 -13
- package/src/LogoControl.ts +0 -13
- package/src/Map.ts +0 -1328
- package/src/MaptilerGeolocateControl.ts +0 -207
- package/src/MaptilerLogoControl.ts +0 -58
- package/src/MaptilerNavigationControl.ts +0 -69
- package/src/MaptilerTerrainControl.ts +0 -72
- package/src/Marker.ts +0 -13
- package/src/Minimap.ts +0 -373
- package/src/NavigationControl.ts +0 -13
- package/src/Point.ts +0 -334
- package/src/Popup.ts +0 -13
- package/src/RasterDEMTileSource.ts +0 -13
- package/src/RasterTileSource.ts +0 -13
- package/src/ScaleControl.ts +0 -13
- package/src/Style.ts +0 -13
- package/src/TerrainControl.ts +0 -13
- package/src/VectorTileSource.ts +0 -13
- package/src/VideoSource.ts +0 -13
- package/src/colorramp.ts +0 -1216
- package/src/config.ts +0 -96
- package/src/converters/index.ts +0 -1
- package/src/converters/xml.ts +0 -681
- package/src/defaults.ts +0 -20
- package/src/helpers/index.ts +0 -27
- package/src/helpers/stylehelper.ts +0 -395
- package/src/helpers/vectorlayerhelpers.ts +0 -1511
- package/src/index.ts +0 -242
- package/src/language.ts +0 -183
- package/src/mapstyle.ts +0 -46
- package/src/style/style_template.css +0 -146
- package/src/style/svg/v6-compass.svg +0 -12
- package/src/style/svg/v6-fullscreen-off.svg +0 -7
- package/src/style/svg/v6-fullscreen.svg +0 -7
- package/src/style/svg/v6-geolocate-active-error.svg +0 -10
- package/src/style/svg/v6-geolocate-active.svg +0 -7
- package/src/style/svg/v6-geolocate-background.svg +0 -8
- package/src/style/svg/v6-geolocate-disabled.svg +0 -10
- package/src/style/svg/v6-geolocate.svg +0 -7
- package/src/style/svg/v6-terrain-on.svg +0 -7
- package/src/style/svg/v6-terrain.svg +0 -7
- package/src/style/svg/v6-zoom-minus.svg +0 -7
- package/src/style/svg/v6-zoom-plus.svg +0 -7
- package/src/tools.ts +0 -171
- package/src/unit.ts +0 -1
package/dist/maptiler-sdk.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import maplibre_gl__default, { StyleSpecification, ControlPosition, LineLayerSpecification, FillLayerSpecification, MapOptions as MapOptions$1, StyleSwapOptions, StyleOptions, LayerSpecification, SourceSpecification, CustomLayerInterface, FilterSpecification, StyleSetterOptions, RequestTransformFunction, Map as Map$1, LogoOptions as LogoOptions$1, IControl } from 'maplibre-gl';
|
|
1
|
+
import maplibregl__default, { LineLayerSpecification, FillLayerSpecification, StyleSpecification, ControlPosition, MapOptions as MapOptions$1, StyleSwapOptions, StyleOptions, LayerSpecification, SourceSpecification, CustomLayerInterface, FilterSpecification, StyleSetterOptions, RequestTransformFunction, Map as Map$1, GestureOptions, LogoControlOptions as LogoControlOptions$1, IControl } from 'maplibre-gl';
|
|
3
2
|
export * from 'maplibre-gl';
|
|
4
3
|
import { FetchFunction, ReferenceMapStyle, MapStyleVariant } from '@maptiler/client';
|
|
5
|
-
export { AutomaticStaticMapOptions,
|
|
4
|
+
export { AutomaticStaticMapOptions, BoundedStaticMapOptions, BufferToPixelDataFunction, ByIdGeocodingOptions, CenteredStaticMapOptions, CommonForwardAndReverseGeocodingOptions, CoordinateExport, CoordinateGrid, CoordinateId, CoordinateSearch, CoordinateSearchResult, CoordinateTransformResult, CoordinateTransformation, Coordinates, CoordinatesSearchOptions, CoordinatesTransformOptions, DefaultTransformation, ElevationAtOptions, ElevationBatchOptions, FeatureHierarchy, FetchFunction, GeocodingFeature, GeocodingOptions, GeocodingSearchResult, GeolocationInfoOptions, GeolocationResult, GetDataOptions, LanguageGeocoding, LanguageGeocodingOptions, LanguageGeocodingString, MapStyle, MapStylePreset, MapStyleType, MapStyleVariant, PixelData, ReferenceMapStyle, ReverseGeocodingOptions, ServiceError, StaticMapBaseOptions, StaticMapMarker, TileJSON, XYZ, bufferToPixelDataBrowser, circumferenceAtLatitude, coordinates, data, elevation, expandMapStyle, geocoding, geolocation, getAutoLanguageGeocoding, getBufferToPixelDataParser, getTileCache, mapStylePresetList, math, misc, staticMaps, styleToStyle } from '@maptiler/client';
|
|
6
5
|
import EventEmitter from 'events';
|
|
7
6
|
import { FeatureCollection } from 'geojson';
|
|
8
7
|
|
|
@@ -136,6 +135,7 @@ declare const Language: {
|
|
|
136
135
|
readonly VIETNAMIAN_LATIN: "name:vi";
|
|
137
136
|
readonly WELSH: "name:cy";
|
|
138
137
|
};
|
|
138
|
+
declare function isLanguageSupported(lang: string): boolean;
|
|
139
139
|
/**
|
|
140
140
|
* Type representing the key of the Language object
|
|
141
141
|
*/
|
|
@@ -145,6 +145,7 @@ type Values<T> = T[keyof T];
|
|
|
145
145
|
* Built-in languages values as strings
|
|
146
146
|
*/
|
|
147
147
|
type LanguageString = Values<typeof Language>;
|
|
148
|
+
declare function getBrowserLanguage(): LanguageString;
|
|
148
149
|
|
|
149
150
|
type Unit = "imperial" | "metric" | "nautical";
|
|
150
151
|
|
|
@@ -169,6 +170,12 @@ declare class SdkConfig extends EventEmitter {
|
|
|
169
170
|
* on the MapTiler Cloud API. This allows MapTiler to enable "session based billing".
|
|
170
171
|
*/
|
|
171
172
|
session: boolean;
|
|
173
|
+
/**
|
|
174
|
+
* Enables client-side caching of requests for tiles and fonts.
|
|
175
|
+
* The cached requests persist multiple browser sessions and will be reused when possible.
|
|
176
|
+
* Works only for requests to the MapTiler Cloud API when sessions are enabled.
|
|
177
|
+
*/
|
|
178
|
+
caching: boolean;
|
|
172
179
|
/**
|
|
173
180
|
* Unit to be used
|
|
174
181
|
*/
|
|
@@ -203,7 +210,7 @@ declare class SdkConfig extends EventEmitter {
|
|
|
203
210
|
*/
|
|
204
211
|
get fetch(): FetchFunction | null;
|
|
205
212
|
}
|
|
206
|
-
declare const config: SdkConfig;
|
|
213
|
+
declare const config$1: SdkConfig;
|
|
207
214
|
|
|
208
215
|
/**
|
|
209
216
|
* This is an extension adds support for adding a minimap to one of the map's control containers.
|
|
@@ -239,6 +246,12 @@ interface MinimapOptionsInput {
|
|
|
239
246
|
/** Set the parentRect fill and/or line options */
|
|
240
247
|
parentRect?: ParentRect;
|
|
241
248
|
}
|
|
249
|
+
interface MinimapOptions extends MapOptions {
|
|
250
|
+
zoomAdjust: number;
|
|
251
|
+
pitchAdjust: boolean;
|
|
252
|
+
containerStyle: Record<string, string>;
|
|
253
|
+
parentRect?: ParentRect;
|
|
254
|
+
}
|
|
242
255
|
|
|
243
256
|
type LoadWithTerrainEvent = {
|
|
244
257
|
type: "loadWithTerrain";
|
|
@@ -285,6 +298,10 @@ type MapOptions = Omit<MapOptions$1, "style" | "maplibreLogo"> & {
|
|
|
285
298
|
* For free plans: MapTiler logo always shows, regardless of the value.
|
|
286
299
|
*/
|
|
287
300
|
maptilerLogo?: boolean;
|
|
301
|
+
/**
|
|
302
|
+
* Attribution text to show in an {@link AttributionControl}.
|
|
303
|
+
*/
|
|
304
|
+
customAttribution?: string | Array<string>;
|
|
288
305
|
/**
|
|
289
306
|
* Enables 3D terrain if `true`. (default: `false`)
|
|
290
307
|
*/
|
|
@@ -346,7 +363,7 @@ type MapOptions = Omit<MapOptions$1, "style" | "maplibreLogo"> & {
|
|
|
346
363
|
/**
|
|
347
364
|
* The Map class can be instanciated to display a map in a `<div>`
|
|
348
365
|
*/
|
|
349
|
-
declare class Map extends
|
|
366
|
+
declare class Map extends maplibregl__default.Map {
|
|
350
367
|
private isTerrainEnabled;
|
|
351
368
|
private terrainExaggeration;
|
|
352
369
|
private primaryLanguage;
|
|
@@ -355,6 +372,7 @@ declare class Map extends maplibre_gl__default.Map {
|
|
|
355
372
|
private minimap?;
|
|
356
373
|
private forceLanguageUpdate;
|
|
357
374
|
private languageAlwaysBeenStyle;
|
|
375
|
+
private isReady;
|
|
358
376
|
constructor(options: MapOptions);
|
|
359
377
|
/**
|
|
360
378
|
* Awaits for _this_ Map instance to be "loaded" and returns a Promise to the Map.
|
|
@@ -363,6 +381,15 @@ declare class Map extends maplibre_gl__default.Map {
|
|
|
363
381
|
* @returns
|
|
364
382
|
*/
|
|
365
383
|
onLoadAsync(): Promise<Map>;
|
|
384
|
+
/**
|
|
385
|
+
* Awaits for _this_ Map instance to be "ready" and returns a Promise to the Map.
|
|
386
|
+
* If _this_ Map instance is already ready, the Promise is resolved directly,
|
|
387
|
+
* otherwise, it is resolved as a result of the "ready" event.
|
|
388
|
+
* A map instance is "ready" when all the controls that can be managed by the contructor are
|
|
389
|
+
* dealt with. This happens after the "load" event, due to the asynchronous nature
|
|
390
|
+
* of some built-in controls.
|
|
391
|
+
*/
|
|
392
|
+
onReadyAsync(): Promise<Map>;
|
|
366
393
|
/**
|
|
367
394
|
* Awaits for _this_ Map instance to be "loaded" as well as with terrain being non-null for the first time
|
|
368
395
|
* and returns a Promise to the Map.
|
|
@@ -568,17 +595,13 @@ declare class Map extends maplibre_gl__default.Map {
|
|
|
568
595
|
* map.setTransformRequest((url: string, resourceType: string) => {});
|
|
569
596
|
*/
|
|
570
597
|
setTransformRequest(transformRequest: RequestTransformFunction): this;
|
|
571
|
-
/**
|
|
572
|
-
* Loads an image. This is an async equivalent of `Map.loadImage`
|
|
573
|
-
*/
|
|
574
|
-
loadImageAsync(url: string): Promise<HTMLImageElement | ImageBitmap | null | undefined>;
|
|
575
598
|
}
|
|
576
599
|
|
|
577
600
|
/**
|
|
578
601
|
* This is an extension of MapLibre Marker to make it fully type compatible with the SDK
|
|
579
602
|
*/
|
|
580
603
|
|
|
581
|
-
declare class Marker extends
|
|
604
|
+
declare class Marker extends maplibregl__default.Marker {
|
|
582
605
|
addTo(map: Map | Map$1): this;
|
|
583
606
|
}
|
|
584
607
|
|
|
@@ -586,7 +609,7 @@ declare class Marker extends maplibre_gl__default.Marker {
|
|
|
586
609
|
* This is an extension of MapLibre Popup to make it fully type compatible with the SDK
|
|
587
610
|
*/
|
|
588
611
|
|
|
589
|
-
declare class Popup extends
|
|
612
|
+
declare class Popup extends maplibregl__default.Popup {
|
|
590
613
|
addTo(map: Map | Map$1): this;
|
|
591
614
|
}
|
|
592
615
|
|
|
@@ -594,7 +617,7 @@ declare class Popup extends maplibre_gl__default.Popup {
|
|
|
594
617
|
* This is an extension of MapLibre Style to make it fully type compatible with the SDK
|
|
595
618
|
*/
|
|
596
619
|
|
|
597
|
-
declare class Style extends
|
|
620
|
+
declare class Style extends maplibregl__default.Style {
|
|
598
621
|
constructor(map: Map, options?: StyleOptions);
|
|
599
622
|
}
|
|
600
623
|
|
|
@@ -602,7 +625,7 @@ declare class Style extends maplibre_gl__default.Style {
|
|
|
602
625
|
* This is an extension of MapLibre CanvasSource to make it fully type compatible with the SDK
|
|
603
626
|
*/
|
|
604
627
|
|
|
605
|
-
declare class CanvasSource extends
|
|
628
|
+
declare class CanvasSource extends maplibregl__default.CanvasSource {
|
|
606
629
|
onAdd(map: Map | Map$1): void;
|
|
607
630
|
}
|
|
608
631
|
|
|
@@ -610,7 +633,7 @@ declare class CanvasSource extends maplibre_gl__default.CanvasSource {
|
|
|
610
633
|
* This is an extension of MapLibre GeoJSONSource to make it fully type compatible with the SDK
|
|
611
634
|
*/
|
|
612
635
|
|
|
613
|
-
declare class GeoJSONSource extends
|
|
636
|
+
declare class GeoJSONSource extends maplibregl__default.GeoJSONSource {
|
|
614
637
|
onAdd(map: Map | Map$1): void;
|
|
615
638
|
}
|
|
616
639
|
|
|
@@ -618,7 +641,7 @@ declare class GeoJSONSource extends maplibre_gl__default.GeoJSONSource {
|
|
|
618
641
|
* This is an extension of MapLibre ImageSource to make it fully type compatible with the SDK
|
|
619
642
|
*/
|
|
620
643
|
|
|
621
|
-
declare class ImageSource extends
|
|
644
|
+
declare class ImageSource extends maplibregl__default.ImageSource {
|
|
622
645
|
onAdd(map: Map | Map$1): void;
|
|
623
646
|
}
|
|
624
647
|
|
|
@@ -626,7 +649,7 @@ declare class ImageSource extends maplibre_gl__default.ImageSource {
|
|
|
626
649
|
* This is an extension of MapLibre RasterTileSource to make it fully type compatible with the SDK
|
|
627
650
|
*/
|
|
628
651
|
|
|
629
|
-
declare class RasterTileSource extends
|
|
652
|
+
declare class RasterTileSource extends maplibregl__default.RasterTileSource {
|
|
630
653
|
onAdd(map: Map | Map$1): void;
|
|
631
654
|
}
|
|
632
655
|
|
|
@@ -634,7 +657,7 @@ declare class RasterTileSource extends maplibre_gl__default.RasterTileSource {
|
|
|
634
657
|
* This is an extension of MapLibre RasterDEMTileSource to make it fully type compatible with the SDK
|
|
635
658
|
*/
|
|
636
659
|
|
|
637
|
-
declare class RasterDEMTileSource extends
|
|
660
|
+
declare class RasterDEMTileSource extends maplibregl__default.RasterDEMTileSource {
|
|
638
661
|
onAdd(map: Map | Map$1): void;
|
|
639
662
|
}
|
|
640
663
|
|
|
@@ -642,7 +665,7 @@ declare class RasterDEMTileSource extends maplibre_gl__default.RasterDEMTileSour
|
|
|
642
665
|
* This is an extension of MapLibre VectorTileSource to make it fully type compatible with the SDK
|
|
643
666
|
*/
|
|
644
667
|
|
|
645
|
-
declare class VectorTileSource extends
|
|
668
|
+
declare class VectorTileSource extends maplibregl__default.VectorTileSource {
|
|
646
669
|
onAdd(map: Map | Map$1): void;
|
|
647
670
|
}
|
|
648
671
|
|
|
@@ -650,7 +673,7 @@ declare class VectorTileSource extends maplibre_gl__default.VectorTileSource {
|
|
|
650
673
|
* This is an extension of MapLibre VideoSource to make it fully type compatible with the SDK
|
|
651
674
|
*/
|
|
652
675
|
|
|
653
|
-
declare class VideoSource extends
|
|
676
|
+
declare class VideoSource extends maplibregl__default.VideoSource {
|
|
654
677
|
onAdd(map: Map | Map$1): void;
|
|
655
678
|
}
|
|
656
679
|
|
|
@@ -658,7 +681,7 @@ declare class VideoSource extends maplibre_gl__default.VideoSource {
|
|
|
658
681
|
* This is an extension of MapLibre NavigationControl to make it fully type compatible with the SDK
|
|
659
682
|
*/
|
|
660
683
|
|
|
661
|
-
declare class NavigationControl extends
|
|
684
|
+
declare class NavigationControl extends maplibregl__default.NavigationControl {
|
|
662
685
|
onAdd(map: Map | Map$1): HTMLElement;
|
|
663
686
|
}
|
|
664
687
|
|
|
@@ -666,7 +689,7 @@ declare class NavigationControl extends maplibre_gl__default.NavigationControl {
|
|
|
666
689
|
* This is an extension of MapLibre GeolocateControl to make it fully type compatible with the SDK
|
|
667
690
|
*/
|
|
668
691
|
|
|
669
|
-
declare class GeolocateControl extends
|
|
692
|
+
declare class GeolocateControl extends maplibregl__default.GeolocateControl {
|
|
670
693
|
onAdd(map: Map | Map$1): HTMLElement;
|
|
671
694
|
}
|
|
672
695
|
|
|
@@ -674,7 +697,7 @@ declare class GeolocateControl extends maplibre_gl__default.GeolocateControl {
|
|
|
674
697
|
* This is an extension of MapLibre AttributionControl to make it fully type compatible with the SDK
|
|
675
698
|
*/
|
|
676
699
|
|
|
677
|
-
declare class AttributionControl extends
|
|
700
|
+
declare class AttributionControl extends maplibregl__default.AttributionControl {
|
|
678
701
|
onAdd(map: Map | Map$1): HTMLElement;
|
|
679
702
|
}
|
|
680
703
|
|
|
@@ -682,7 +705,7 @@ declare class AttributionControl extends maplibre_gl__default.AttributionControl
|
|
|
682
705
|
* This is an extension of MapLibre LogoControl to make it fully type compatible with the SDK
|
|
683
706
|
*/
|
|
684
707
|
|
|
685
|
-
declare class LogoControl extends
|
|
708
|
+
declare class LogoControl extends maplibregl__default.LogoControl {
|
|
686
709
|
onAdd(map: Map | Map$1): HTMLElement;
|
|
687
710
|
}
|
|
688
711
|
|
|
@@ -690,7 +713,7 @@ declare class LogoControl extends maplibre_gl__default.LogoControl {
|
|
|
690
713
|
* This is an extension of MapLibre ScaleControl to make it fully type compatible with the SDK
|
|
691
714
|
*/
|
|
692
715
|
|
|
693
|
-
declare class ScaleControl extends
|
|
716
|
+
declare class ScaleControl extends maplibregl__default.ScaleControl {
|
|
694
717
|
onAdd(map: Map | Map$1): HTMLElement;
|
|
695
718
|
}
|
|
696
719
|
|
|
@@ -698,7 +721,7 @@ declare class ScaleControl extends maplibre_gl__default.ScaleControl {
|
|
|
698
721
|
* This is an extension of MapLibre FullscreenControl to make it fully type compatible with the SDK
|
|
699
722
|
*/
|
|
700
723
|
|
|
701
|
-
declare class FullscreenControl extends
|
|
724
|
+
declare class FullscreenControl extends maplibregl__default.FullscreenControl {
|
|
702
725
|
onAdd(map: Map | Map$1): HTMLElement;
|
|
703
726
|
}
|
|
704
727
|
|
|
@@ -706,10 +729,76 @@ declare class FullscreenControl extends maplibre_gl__default.FullscreenControl {
|
|
|
706
729
|
* This is an extension of MapLibre TerrainControl to make it fully type compatible with the SDK
|
|
707
730
|
*/
|
|
708
731
|
|
|
709
|
-
declare class TerrainControl extends
|
|
732
|
+
declare class TerrainControl extends maplibregl__default.TerrainControl {
|
|
710
733
|
onAdd(map: Map | Map$1): HTMLElement;
|
|
711
734
|
}
|
|
712
735
|
|
|
736
|
+
/**
|
|
737
|
+
* This is an extension of MapLibre BoxZoomHandler to make it fully type compatible with the SDK
|
|
738
|
+
*/
|
|
739
|
+
|
|
740
|
+
declare class BoxZoomHandler extends maplibregl__default.BoxZoomHandler {
|
|
741
|
+
constructor(map: Map | Map$1, options: {
|
|
742
|
+
clickTolerance: number;
|
|
743
|
+
});
|
|
744
|
+
}
|
|
745
|
+
|
|
746
|
+
/**
|
|
747
|
+
* This is an extension of MapLibre BoxZoomHandler to make it fully type compatible with the SDK
|
|
748
|
+
*/
|
|
749
|
+
|
|
750
|
+
declare class ScrollZoomHandler extends maplibregl__default.ScrollZoomHandler {
|
|
751
|
+
constructor(map: Map | Map$1, triggerRenderFrame: () => void);
|
|
752
|
+
}
|
|
753
|
+
|
|
754
|
+
/**
|
|
755
|
+
* This is an extension of MapLibre BoxZoomHandler to make it fully type compatible with the SDK
|
|
756
|
+
*/
|
|
757
|
+
|
|
758
|
+
declare class CooperativeGesturesHandler extends maplibregl__default.CooperativeGesturesHandler {
|
|
759
|
+
constructor(map: Map | Map$1, options: GestureOptions);
|
|
760
|
+
}
|
|
761
|
+
|
|
762
|
+
/**
|
|
763
|
+
* This is an extension of MapLibre BoxZoomHandler to make it fully type compatible with the SDK
|
|
764
|
+
*/
|
|
765
|
+
|
|
766
|
+
declare class KeyboardHandler extends maplibregl__default.KeyboardHandler {
|
|
767
|
+
constructor(map: Map | Map$1);
|
|
768
|
+
}
|
|
769
|
+
|
|
770
|
+
/**
|
|
771
|
+
* This is an extension of MapLibre BoxZoomHandler to make it fully type compatible with the SDK
|
|
772
|
+
*/
|
|
773
|
+
|
|
774
|
+
declare class TwoFingersTouchPitchHandler extends maplibregl__default.TwoFingersTouchPitchHandler {
|
|
775
|
+
constructor(map: Map | Map$1);
|
|
776
|
+
}
|
|
777
|
+
|
|
778
|
+
/**
|
|
779
|
+
* This is an extension of MapLibre BoxZoomHandler to make it fully type compatible with the SDK
|
|
780
|
+
*/
|
|
781
|
+
|
|
782
|
+
declare class MapWheelEvent extends maplibregl__default.MapWheelEvent {
|
|
783
|
+
constructor(type: string, map: Map | Map$1, originalEvent: WheelEvent);
|
|
784
|
+
}
|
|
785
|
+
|
|
786
|
+
/**
|
|
787
|
+
* This is an extension of MapLibre BoxZoomHandler to make it fully type compatible with the SDK
|
|
788
|
+
*/
|
|
789
|
+
|
|
790
|
+
declare class MapTouchEvent extends maplibregl__default.MapTouchEvent {
|
|
791
|
+
constructor(type: string, map: Map | Map$1, originalEvent: TouchEvent);
|
|
792
|
+
}
|
|
793
|
+
|
|
794
|
+
/**
|
|
795
|
+
* This is an extension of MapLibre BoxZoomHandler to make it fully type compatible with the SDK
|
|
796
|
+
*/
|
|
797
|
+
|
|
798
|
+
declare class MapMouseEvent extends maplibregl__default.MapMouseEvent {
|
|
799
|
+
constructor(type: string, map: Map | Map$1, originalEvent: MouseEvent, data?: any);
|
|
800
|
+
}
|
|
801
|
+
|
|
713
802
|
/**
|
|
714
803
|
* The MaptilerGeolocateControl is an extension of the original GeolocateControl
|
|
715
804
|
* with a few changes. In this version, the active mode persists as long as the
|
|
@@ -730,7 +819,7 @@ declare class MaptilerGeolocateControl extends GeolocateControl {
|
|
|
730
819
|
_onZoom: () => void;
|
|
731
820
|
}
|
|
732
821
|
|
|
733
|
-
type
|
|
822
|
+
type LogoControlOptions = LogoControlOptions$1 & {
|
|
734
823
|
logoURL?: string;
|
|
735
824
|
linkURL?: string;
|
|
736
825
|
};
|
|
@@ -742,7 +831,7 @@ declare class MaptilerLogoControl extends LogoControl {
|
|
|
742
831
|
_compact: boolean;
|
|
743
832
|
private logoURL;
|
|
744
833
|
private linkURL;
|
|
745
|
-
constructor(options?:
|
|
834
|
+
constructor(options?: LogoControlOptions);
|
|
746
835
|
onAdd(map: Map): HTMLElement;
|
|
747
836
|
}
|
|
748
837
|
|
|
@@ -776,184 +865,6 @@ declare class MaptilerNavigationControl extends NavigationControl {
|
|
|
776
865
|
_rotateCompassArrow: () => void;
|
|
777
866
|
}
|
|
778
867
|
|
|
779
|
-
/**
|
|
780
|
-
* This is TypeScript rewrite of the Point class to use instead of the version imported in MapLibre.
|
|
781
|
-
* It also uses a class instead of prototypes.
|
|
782
|
-
*/
|
|
783
|
-
/**
|
|
784
|
-
* Row major 2x2 matrix
|
|
785
|
-
*/
|
|
786
|
-
type Matrix2 = [number, number, number, number];
|
|
787
|
-
/**
|
|
788
|
-
* a point
|
|
789
|
-
*/
|
|
790
|
-
declare class Point {
|
|
791
|
-
x: number;
|
|
792
|
-
y: number;
|
|
793
|
-
constructor(x: number, y: number);
|
|
794
|
-
private _matMult;
|
|
795
|
-
private _add;
|
|
796
|
-
private _sub;
|
|
797
|
-
private _mult;
|
|
798
|
-
private _div;
|
|
799
|
-
private _multByPoint;
|
|
800
|
-
private _divByPoint;
|
|
801
|
-
private _unit;
|
|
802
|
-
private _perp;
|
|
803
|
-
private _rotate;
|
|
804
|
-
private _rotateAround;
|
|
805
|
-
private _round;
|
|
806
|
-
/**
|
|
807
|
-
* Clone this point, returning a new point that can be modified
|
|
808
|
-
* without affecting the old one.
|
|
809
|
-
* @return {Point} the clone
|
|
810
|
-
*/
|
|
811
|
-
clone(): Point;
|
|
812
|
-
/**
|
|
813
|
-
* Add this point's x & y coordinates to another point,
|
|
814
|
-
* yielding a new point.
|
|
815
|
-
* @param {Point} p the other point
|
|
816
|
-
* @return {Point} output point
|
|
817
|
-
*/
|
|
818
|
-
add(p: Point): Point;
|
|
819
|
-
/**
|
|
820
|
-
* Subtract this point's x & y coordinates to from point,
|
|
821
|
-
* yielding a new point.
|
|
822
|
-
* @param {Point} p the other point
|
|
823
|
-
* @return {Point} output point
|
|
824
|
-
*/
|
|
825
|
-
sub(p: Point): Point;
|
|
826
|
-
/**
|
|
827
|
-
* Multiply this point's x & y coordinates by point,
|
|
828
|
-
* yielding a new point.
|
|
829
|
-
* @param {Point} p the other point
|
|
830
|
-
* @return {Point} output point
|
|
831
|
-
*/
|
|
832
|
-
multByPoint(p: Point): Point;
|
|
833
|
-
/**
|
|
834
|
-
* Divide this point's x & y coordinates by point,
|
|
835
|
-
* yielding a new point.
|
|
836
|
-
* @param {Point} p the other point
|
|
837
|
-
* @return {Point} output point
|
|
838
|
-
*/
|
|
839
|
-
divByPoint(p: Point): Point;
|
|
840
|
-
/**
|
|
841
|
-
* Multiply this point's x & y coordinates by a factor,
|
|
842
|
-
* yielding a new point.
|
|
843
|
-
* @param {Number} k factor
|
|
844
|
-
* @return {Point} output point
|
|
845
|
-
*/
|
|
846
|
-
mult(k: number): Point;
|
|
847
|
-
/**
|
|
848
|
-
* Divide this point's x & y coordinates by a factor,
|
|
849
|
-
* yielding a new point.
|
|
850
|
-
* @param {Point} k factor
|
|
851
|
-
* @return {Point} output point
|
|
852
|
-
*/
|
|
853
|
-
div(k: number): Point;
|
|
854
|
-
/**
|
|
855
|
-
* Rotate this point around the 0, 0 origin by an angle a,
|
|
856
|
-
* given in radians
|
|
857
|
-
* @param {Number} a angle to rotate around, in radians
|
|
858
|
-
* @return {Point} output point
|
|
859
|
-
*/
|
|
860
|
-
rotate(a: number): Point;
|
|
861
|
-
/**
|
|
862
|
-
* Rotate this point around p point by an angle a,
|
|
863
|
-
* given in radians
|
|
864
|
-
* @param {Number} a angle to rotate around, in radians
|
|
865
|
-
* @param {Point} p Point to rotate around
|
|
866
|
-
* @return {Point} output point
|
|
867
|
-
*/
|
|
868
|
-
rotateAround(a: number, p: Point): Point;
|
|
869
|
-
/**
|
|
870
|
-
* Multiply this point by a 4x1 transformation matrix
|
|
871
|
-
* @param {Array<Number>} m transformation matrix
|
|
872
|
-
* @return {Point} output point
|
|
873
|
-
*/
|
|
874
|
-
matMult(m: Matrix2): Point;
|
|
875
|
-
/**
|
|
876
|
-
* Calculate this point but as a unit vector from 0, 0, meaning
|
|
877
|
-
* that the distance from the resulting point to the 0, 0
|
|
878
|
-
* coordinate will be equal to 1 and the angle from the resulting
|
|
879
|
-
* point to the 0, 0 coordinate will be the same as before.
|
|
880
|
-
* @return {Point} unit vector point
|
|
881
|
-
*/
|
|
882
|
-
unit(): Point;
|
|
883
|
-
/**
|
|
884
|
-
* Compute a perpendicular point, where the new y coordinate
|
|
885
|
-
* is the old x coordinate and the new x coordinate is the old y
|
|
886
|
-
* coordinate multiplied by -1
|
|
887
|
-
* @return {Point} perpendicular point
|
|
888
|
-
*/
|
|
889
|
-
perp(): Point;
|
|
890
|
-
/**
|
|
891
|
-
* Return a version of this point with the x & y coordinates
|
|
892
|
-
* rounded to integers.
|
|
893
|
-
* @return {Point} rounded point
|
|
894
|
-
*/
|
|
895
|
-
round(): Point;
|
|
896
|
-
/**
|
|
897
|
-
* Return the magnitude of this point: this is the Euclidean
|
|
898
|
-
* distance from the 0, 0 coordinate to this point's x and y
|
|
899
|
-
* coordinates.
|
|
900
|
-
* @return {Number} magnitude
|
|
901
|
-
*/
|
|
902
|
-
mag(): number;
|
|
903
|
-
/**
|
|
904
|
-
* Judge whether this point is equal to another point, returning
|
|
905
|
-
* true or false.
|
|
906
|
-
* @param {Point} other the other point
|
|
907
|
-
* @return {boolean} whether the points are equal
|
|
908
|
-
*/
|
|
909
|
-
equals(other: Point): boolean;
|
|
910
|
-
/**
|
|
911
|
-
* Calculate the distance from this point to another point
|
|
912
|
-
* @param {Point} p the other point
|
|
913
|
-
* @return {Number} distance
|
|
914
|
-
*/
|
|
915
|
-
dist(p: Point): number;
|
|
916
|
-
/**
|
|
917
|
-
* Calculate the distance from this point to another point,
|
|
918
|
-
* without the square root step. Useful if you're comparing
|
|
919
|
-
* relative distances.
|
|
920
|
-
* @param {Point} p the other point
|
|
921
|
-
* @return {Number} distance
|
|
922
|
-
*/
|
|
923
|
-
distSqr(p: Point): number;
|
|
924
|
-
/**
|
|
925
|
-
* Get the angle from the 0, 0 coordinate to this point, in radians
|
|
926
|
-
* coordinates.
|
|
927
|
-
* @return {Number} angle
|
|
928
|
-
*/
|
|
929
|
-
angle(): number;
|
|
930
|
-
/**
|
|
931
|
-
* Get the angle from this point to another point, in radians
|
|
932
|
-
* @param {Point} b the other point
|
|
933
|
-
* @return {Number} angle
|
|
934
|
-
*/
|
|
935
|
-
angleTo(b: Point): number;
|
|
936
|
-
/**
|
|
937
|
-
* Get the angle between this point and another point, in radians
|
|
938
|
-
* @param {Point} b the other point
|
|
939
|
-
* @return {Number} angle
|
|
940
|
-
*/
|
|
941
|
-
angleWith(b: Point): number;
|
|
942
|
-
angleWithSep(x: number, y: number): number;
|
|
943
|
-
/**
|
|
944
|
-
* Construct a point from an array if necessary, otherwise if the input
|
|
945
|
-
* is already a Point, or an unknown type, return it unchanged
|
|
946
|
-
* @param {Array<number> | Point} a any kind of input value
|
|
947
|
-
* @return {Point} constructed point, or passed-through value.
|
|
948
|
-
* @example
|
|
949
|
-
* // this
|
|
950
|
-
* var point = Point.convert([0, 1]);
|
|
951
|
-
* // is equivalent to
|
|
952
|
-
* var point = new Point(0, 1);
|
|
953
|
-
*/
|
|
954
|
-
static convert(a: Point | Array<number>): Point;
|
|
955
|
-
}
|
|
956
|
-
|
|
957
868
|
interface Link {
|
|
958
869
|
href: string | null;
|
|
959
870
|
}
|
|
@@ -1866,62 +1777,100 @@ declare const helpers: {
|
|
|
1866
1777
|
addHeatmap: typeof addHeatmap;
|
|
1867
1778
|
};
|
|
1868
1779
|
|
|
1869
|
-
declare const setRTLTextPlugin:
|
|
1870
|
-
declare const getRTLTextPluginStatus:
|
|
1871
|
-
declare const prewarm:
|
|
1872
|
-
declare const clearPrewarmedResources:
|
|
1873
|
-
declare const
|
|
1874
|
-
declare const
|
|
1875
|
-
declare const
|
|
1876
|
-
declare const
|
|
1877
|
-
declare const
|
|
1878
|
-
declare const
|
|
1879
|
-
|
|
1880
|
-
declare const
|
|
1780
|
+
declare const setRTLTextPlugin: typeof maplibregl__default.setRTLTextPlugin;
|
|
1781
|
+
declare const getRTLTextPluginStatus: typeof maplibregl__default.getRTLTextPluginStatus;
|
|
1782
|
+
declare const prewarm: typeof maplibregl__default.prewarm;
|
|
1783
|
+
declare const clearPrewarmedResources: typeof maplibregl__default.clearPrewarmedResources;
|
|
1784
|
+
declare const addProtocol: typeof maplibregl__default.addProtocol;
|
|
1785
|
+
declare const removeProtocol: typeof maplibregl__default.removeProtocol;
|
|
1786
|
+
declare const Hash: typeof maplibregl__default.Hash;
|
|
1787
|
+
declare const Point: typeof maplibregl__default.Point;
|
|
1788
|
+
declare const config: maplibregl__default.Config;
|
|
1789
|
+
declare const EdgeInsets: typeof maplibregl__default.EdgeInsets;
|
|
1790
|
+
declare const DragRotateHandler: typeof maplibregl__default.DragRotateHandler;
|
|
1791
|
+
declare const DragPanHandler: typeof maplibregl__default.DragPanHandler;
|
|
1792
|
+
declare const TwoFingersTouchZoomRotateHandler: typeof maplibregl__default.TwoFingersTouchZoomRotateHandler;
|
|
1793
|
+
declare const DoubleClickZoomHandler: typeof maplibregl__default.DoubleClickZoomHandler;
|
|
1794
|
+
declare const TwoFingersTouchZoomHandler: typeof maplibregl__default.TwoFingersTouchZoomHandler;
|
|
1795
|
+
declare const TwoFingersTouchRotateHandler: typeof maplibregl__default.TwoFingersTouchRotateHandler;
|
|
1796
|
+
declare const getWorkerCount: typeof maplibregl__default.getWorkerCount;
|
|
1797
|
+
declare const setWorkerCount: typeof maplibregl__default.setWorkerCount;
|
|
1798
|
+
declare const getMaxParallelImageRequests: typeof maplibregl__default.getMaxParallelImageRequests;
|
|
1799
|
+
declare const setMaxParallelImageRequests: typeof maplibregl__default.setMaxParallelImageRequests;
|
|
1800
|
+
declare const getWorkerUrl: typeof maplibregl__default.getWorkerUrl;
|
|
1801
|
+
declare const setWorkerUrl: typeof maplibregl__default.setWorkerUrl;
|
|
1802
|
+
declare const addSourceType: (name: string, SourceType: maplibregl__default.SourceClass) => Promise<void>;
|
|
1803
|
+
declare const importScriptInWorkers: typeof maplibregl__default.importScriptInWorkers;
|
|
1804
|
+
/**
|
|
1805
|
+
* Get the version of MapTiler SDK
|
|
1806
|
+
*/
|
|
1807
|
+
declare function getVersion(): string;
|
|
1808
|
+
/**
|
|
1809
|
+
* Get the version of MapLibre GL JS
|
|
1810
|
+
*/
|
|
1811
|
+
declare function getMapLibreVersion(): string;
|
|
1812
|
+
|
|
1813
|
+
declare const NavigationControlMLGL: typeof maplibregl__default.NavigationControl;
|
|
1881
1814
|
type NavigationControlMLGL = InstanceType<typeof NavigationControlMLGL>;
|
|
1882
|
-
declare const GeolocateControlMLGL: typeof
|
|
1815
|
+
declare const GeolocateControlMLGL: typeof maplibregl__default.GeolocateControl;
|
|
1883
1816
|
type GeolocateControlMLGL = InstanceType<typeof GeolocateControlMLGL>;
|
|
1884
|
-
declare const AttributionControlMLGL: typeof
|
|
1817
|
+
declare const AttributionControlMLGL: typeof maplibregl__default.AttributionControl;
|
|
1885
1818
|
type AttributionControlMLGL = InstanceType<typeof AttributionControlMLGL>;
|
|
1886
|
-
declare const LogoControlMLGL: typeof
|
|
1819
|
+
declare const LogoControlMLGL: typeof maplibregl__default.LogoControl;
|
|
1887
1820
|
type LogoControlMLGL = InstanceType<typeof LogoControlMLGL>;
|
|
1888
|
-
declare const ScaleControlMLGL: typeof
|
|
1821
|
+
declare const ScaleControlMLGL: typeof maplibregl__default.ScaleControl;
|
|
1889
1822
|
type ScaleControlMLGL = InstanceType<typeof ScaleControlMLGL>;
|
|
1890
|
-
declare const FullscreenControlMLGL: typeof
|
|
1823
|
+
declare const FullscreenControlMLGL: typeof maplibregl__default.FullscreenControl;
|
|
1891
1824
|
type FullscreenControlMLGL = InstanceType<typeof FullscreenControlMLGL>;
|
|
1892
|
-
declare const TerrainControlMLGL: typeof
|
|
1825
|
+
declare const TerrainControlMLGL: typeof maplibregl__default.TerrainControl;
|
|
1893
1826
|
type TerrainControlMLGL = InstanceType<typeof TerrainControlMLGL>;
|
|
1894
|
-
declare const MarkerMLGL: typeof
|
|
1827
|
+
declare const MarkerMLGL: typeof maplibregl__default.Marker;
|
|
1895
1828
|
type MarkerMLGL = InstanceType<typeof MarkerMLGL>;
|
|
1896
|
-
declare const PopupMLGL: typeof
|
|
1829
|
+
declare const PopupMLGL: typeof maplibregl__default.Popup;
|
|
1897
1830
|
type PopupMLGL = InstanceType<typeof PopupMLGL>;
|
|
1898
|
-
declare const StyleMLGL: typeof
|
|
1831
|
+
declare const StyleMLGL: typeof maplibregl__default.Style;
|
|
1899
1832
|
type StyleMLGL = InstanceType<typeof StyleMLGL>;
|
|
1900
|
-
declare const LngLat: typeof
|
|
1833
|
+
declare const LngLat: typeof maplibregl__default.LngLat;
|
|
1901
1834
|
type LngLat = InstanceType<typeof LngLat>;
|
|
1902
|
-
declare const LngLatBounds: typeof
|
|
1835
|
+
declare const LngLatBounds: typeof maplibregl__default.LngLatBounds;
|
|
1903
1836
|
type LngLatBounds = InstanceType<typeof LngLatBounds>;
|
|
1904
|
-
declare const MercatorCoordinate: typeof
|
|
1837
|
+
declare const MercatorCoordinate: typeof maplibregl__default.MercatorCoordinate;
|
|
1905
1838
|
type MercatorCoordinate = InstanceType<typeof MercatorCoordinate>;
|
|
1906
|
-
declare const Evented: typeof
|
|
1839
|
+
declare const Evented: typeof maplibregl__default.Evented;
|
|
1907
1840
|
type Evented = InstanceType<typeof Evented>;
|
|
1908
|
-
declare const AJAXError: typeof
|
|
1841
|
+
declare const AJAXError: typeof maplibregl__default.AJAXError;
|
|
1909
1842
|
type AJAXError = InstanceType<typeof AJAXError>;
|
|
1910
|
-
declare const CanvasSourceMLGL: typeof
|
|
1843
|
+
declare const CanvasSourceMLGL: typeof maplibregl__default.CanvasSource;
|
|
1911
1844
|
type CanvasSourceMLGL = InstanceType<typeof CanvasSourceMLGL>;
|
|
1912
|
-
declare const GeoJSONSourceMLGL: typeof
|
|
1845
|
+
declare const GeoJSONSourceMLGL: typeof maplibregl__default.GeoJSONSource;
|
|
1913
1846
|
type GeoJSONSourceMLGL = InstanceType<typeof GeoJSONSourceMLGL>;
|
|
1914
|
-
declare const ImageSourceMLGL: typeof
|
|
1847
|
+
declare const ImageSourceMLGL: typeof maplibregl__default.ImageSource;
|
|
1915
1848
|
type ImageSourceMLGL = InstanceType<typeof ImageSourceMLGL>;
|
|
1916
|
-
declare const RasterDEMTileSourceMLGL: typeof
|
|
1849
|
+
declare const RasterDEMTileSourceMLGL: typeof maplibregl__default.RasterDEMTileSource;
|
|
1917
1850
|
type RasterDEMTileSourceMLGL = InstanceType<typeof RasterDEMTileSourceMLGL>;
|
|
1918
|
-
declare const RasterTileSourceMLGL: typeof
|
|
1851
|
+
declare const RasterTileSourceMLGL: typeof maplibregl__default.RasterTileSource;
|
|
1919
1852
|
type RasterTileSourceMLGL = InstanceType<typeof RasterTileSourceMLGL>;
|
|
1920
|
-
declare const VectorTileSourceMLGL: typeof
|
|
1853
|
+
declare const VectorTileSourceMLGL: typeof maplibregl__default.VectorTileSource;
|
|
1921
1854
|
type VectorTileSourceMLGL = InstanceType<typeof VectorTileSourceMLGL>;
|
|
1922
|
-
declare const VideoSourceMLGL: typeof
|
|
1855
|
+
declare const VideoSourceMLGL: typeof maplibregl__default.VideoSource;
|
|
1923
1856
|
type VideoSourceMLGL = InstanceType<typeof VideoSourceMLGL>;
|
|
1924
|
-
declare const MapMLGL: typeof
|
|
1857
|
+
declare const MapMLGL: typeof maplibregl__default.Map;
|
|
1925
1858
|
type MapMLGL = InstanceType<typeof MapMLGL>;
|
|
1859
|
+
declare const BoxZoomHandlerMLGL: typeof maplibregl__default.BoxZoomHandler;
|
|
1860
|
+
type BoxZoomHandlerMLGL = InstanceType<typeof BoxZoomHandlerMLGL>;
|
|
1861
|
+
declare const ScrollZoomHandlerMLGL: typeof maplibregl__default.ScrollZoomHandler;
|
|
1862
|
+
type ScrollZoomHandlerMLGL = InstanceType<typeof ScrollZoomHandlerMLGL>;
|
|
1863
|
+
declare const CooperativeGesturesHandlerMLGL: typeof maplibregl__default.CooperativeGesturesHandler;
|
|
1864
|
+
type CooperativeGesturesHandlerMLGL = InstanceType<typeof CooperativeGesturesHandlerMLGL>;
|
|
1865
|
+
declare const KeyboardHandlerMLGL: typeof maplibregl__default.KeyboardHandler;
|
|
1866
|
+
type KeyboardHandlerMLGL = InstanceType<typeof KeyboardHandlerMLGL>;
|
|
1867
|
+
declare const TwoFingersTouchPitchHandlerMLGL: typeof maplibregl__default.TwoFingersTouchPitchHandler;
|
|
1868
|
+
type TwoFingersTouchPitchHandlerMLGL = InstanceType<typeof TwoFingersTouchPitchHandlerMLGL>;
|
|
1869
|
+
declare const MapWheelEventMLGL: typeof maplibregl__default.MapWheelEvent;
|
|
1870
|
+
type MapWheelEventMLGL = InstanceType<typeof MapWheelEventMLGL>;
|
|
1871
|
+
declare const MapTouchEventMLGL: typeof maplibregl__default.MapTouchEvent;
|
|
1872
|
+
type MapTouchEventMLGL = InstanceType<typeof MapTouchEventMLGL>;
|
|
1873
|
+
declare const MapMouseEventMLGL: typeof maplibregl__default.MapMouseEvent;
|
|
1874
|
+
type MapMouseEventMLGL = InstanceType<typeof MapMouseEventMLGL>;
|
|
1926
1875
|
|
|
1927
|
-
export { AJAXError, ArrayColor, ArrayColorRamp, ArrayColorRampStop, AttributionControl, AttributionControlMLGL, CanvasSource, CanvasSourceMLGL, ColorRamp, ColorRampCollection, ColorRampOptions, ColorStop, CommonShapeLayerOptions, Evented, FullscreenControl, FullscreenControlMLGL, GeoJSONSource, GeoJSONSourceMLGL, GeolocateControl, GeolocateControlMLGL, GeolocationType, HeatmapLayerOptions, ImageSource, ImageSourceMLGL, Language, LanguageKey, LanguageString, Link, LngLat, LngLatBounds, LoadWithTerrainEvent, LogoControl, LogoControlMLGL, Map, MapMLGL, MapOptions, MaptilerGeolocateControl, MaptilerLogoControl, MaptilerNavigationControl, MaptilerTerrainControl, Marker, MarkerMLGL,
|
|
1876
|
+
export { AJAXError, ArrayColor, ArrayColorRamp, ArrayColorRampStop, AttributionControl, AttributionControlMLGL, BoxZoomHandler, BoxZoomHandlerMLGL, CanvasSource, CanvasSourceMLGL, ColorRamp, ColorRampCollection, ColorRampOptions, ColorStop, CommonShapeLayerOptions, CooperativeGesturesHandler, CooperativeGesturesHandlerMLGL, DoubleClickZoomHandler, DragPanHandler, DragRotateHandler, EdgeInsets, Evented, FullscreenControl, FullscreenControlMLGL, GeoJSONSource, GeoJSONSourceMLGL, GeolocateControl, GeolocateControlMLGL, GeolocationType, Hash, HeatmapLayerOptions, ImageSource, ImageSourceMLGL, KeyboardHandler, KeyboardHandlerMLGL, Language, LanguageKey, LanguageString, Link, LngLat, LngLatBounds, LoadWithTerrainEvent, LogoControl, LogoControlMLGL, Map, MapMLGL, MapMouseEvent, MapMouseEventMLGL, MapOptions, MapTouchEvent, MapTouchEventMLGL, MapWheelEvent, MapWheelEventMLGL, MaptilerGeolocateControl, MaptilerLogoControl, MaptilerNavigationControl, MaptilerTerrainControl, Marker, MarkerMLGL, MercatorCoordinate, MinimapOptions, MinimapOptionsInput, NavigationControl, NavigationControlMLGL, ParentRect, PlacemarkProperties, Point, PointLayerOptions, PolygonLayerOptions, PolylineLayerOptions, Popup, PopupMLGL, PropertyValues, RasterDEMTileSource, RasterDEMTileSourceMLGL, RasterTileSource, RasterTileSourceMLGL, RgbaColor, ScaleControl, ScaleControlMLGL, ScrollZoomHandler, ScrollZoomHandlerMLGL, SdkConfig, Style, StyleMLGL, TerrainControl, TerrainControlMLGL, TwoFingersTouchPitchHandler, TwoFingersTouchPitchHandlerMLGL, TwoFingersTouchRotateHandler, TwoFingersTouchZoomHandler, TwoFingersTouchZoomRotateHandler, Unit, VectorTileSource, VectorTileSourceMLGL, VideoSource, VideoSourceMLGL, XMLProperties, ZoomNumberValues, ZoomStringValues, addProtocol, addSourceType, clearPrewarmedResources, config$1 as config, config as configMLGL, getBrowserLanguage, getMapLibreVersion, getMaxParallelImageRequests, getRTLTextPluginStatus, getVersion, getWorkerCount, getWorkerUrl, gpx, gpxOrKml, hasChildNodeWithName, helpers, importScriptInWorkers, isLanguageSupported, kml, prewarm, removeProtocol, setMaxParallelImageRequests, setRTLTextPlugin, setWorkerCount, setWorkerUrl, str2xml, xml2str };
|