@maptiler/sdk 3.10.0-rc.1 → 3.10.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/README.md +606 -348
- package/package.json +1 -1
- package/dist/eslint.mjs +0 -133
- package/dist/maptiler-sdk.d.ts +0 -2
- package/dist/maptiler-sdk.mjs +0 -14217
- package/dist/maptiler-sdk.mjs.map +0 -1
- package/dist/src/ColorRamp.d.ts +0 -359
- package/dist/src/ImageViewer/ImageViewer.d.ts +0 -408
- package/dist/src/ImageViewer/ImageViewerMarker.d.ts +0 -236
- package/dist/src/ImageViewer/events.d.ts +0 -47
- package/dist/src/ImageViewer/index.d.ts +0 -5
- package/dist/src/ImageViewer/monkeyPatchML.d.ts +0 -10
- package/dist/src/ImageViewer/symbols.d.ts +0 -2
- package/dist/src/MLAdapters/AttributionControl.d.ts +0 -5
- package/dist/src/MLAdapters/BoxZoomHandler.d.ts +0 -7
- package/dist/src/MLAdapters/CanvasSource.d.ts +0 -5
- package/dist/src/MLAdapters/CooperativeGesturesHandler.d.ts +0 -5
- package/dist/src/MLAdapters/FullscreenControl.d.ts +0 -5
- package/dist/src/MLAdapters/GeoJSONSource.d.ts +0 -5
- package/dist/src/MLAdapters/GeolocateControl.d.ts +0 -5
- package/dist/src/MLAdapters/ImageSource.d.ts +0 -5
- package/dist/src/MLAdapters/KeyboardHandler.d.ts +0 -5
- package/dist/src/MLAdapters/LogoControl.d.ts +0 -5
- package/dist/src/MLAdapters/MapMouseEvent.d.ts +0 -5
- package/dist/src/MLAdapters/MapTouchEvent.d.ts +0 -5
- package/dist/src/MLAdapters/MapWheelEvent.d.ts +0 -5
- package/dist/src/MLAdapters/Marker.d.ts +0 -5
- package/dist/src/MLAdapters/NavigationControl.d.ts +0 -5
- package/dist/src/MLAdapters/Popup.d.ts +0 -5
- package/dist/src/MLAdapters/RasterDEMTileSource.d.ts +0 -5
- package/dist/src/MLAdapters/RasterTileSource.d.ts +0 -5
- package/dist/src/MLAdapters/ScaleControl.d.ts +0 -5
- package/dist/src/MLAdapters/ScrollZoomHandler.d.ts +0 -5
- package/dist/src/MLAdapters/Style.d.ts +0 -5
- package/dist/src/MLAdapters/TerrainControl.d.ts +0 -5
- package/dist/src/MLAdapters/TwoFingersTouchPitchHandler.d.ts +0 -5
- package/dist/src/MLAdapters/VectorTileSource.d.ts +0 -5
- package/dist/src/MLAdapters/VideoSource.d.ts +0 -5
- package/dist/src/Map.d.ts +0 -475
- package/dist/src/Point.d.ts +0 -177
- package/dist/src/Telemetry.d.ts +0 -23
- package/dist/src/caching.d.ts +0 -4
- package/dist/src/config.d.ts +0 -85
- package/dist/src/constants/defaults.d.ts +0 -15
- package/dist/src/controls/ImageViewerFitImageToBoundsControl.d.ts +0 -13
- package/dist/src/controls/MaptilerCustomControl.d.ts +0 -17
- package/dist/src/controls/MaptilerExternalControl.d.ts +0 -25
- package/dist/src/controls/MaptilerGeolocateControl.d.ts +0 -21
- package/dist/src/controls/MaptilerLogoControl.d.ts +0 -19
- package/dist/src/controls/MaptilerNavigationControl.d.ts +0 -17
- package/dist/src/controls/MaptilerProjectionControl.d.ts +0 -15
- package/dist/src/controls/MaptilerTerrainControl.d.ts +0 -17
- package/dist/src/controls/Minimap.d.ts +0 -57
- package/dist/src/controls/index.d.ts +0 -8
- package/dist/src/converters/index.d.ts +0 -1
- package/dist/src/converters/xml.d.ts +0 -54
- package/dist/src/custom-layers/CubemapLayer/CubemapLayer.d.ts +0 -239
- package/dist/src/custom-layers/CubemapLayer/constants.d.ts +0 -3
- package/dist/src/custom-layers/CubemapLayer/index.d.ts +0 -2
- package/dist/src/custom-layers/CubemapLayer/loadCubemapTexture.d.ts +0 -42
- package/dist/src/custom-layers/CubemapLayer/types.d.ts +0 -67
- package/dist/src/custom-layers/RadialGradientLayer/RadialGradientLayer.d.ts +0 -149
- package/dist/src/custom-layers/RadialGradientLayer/index.d.ts +0 -2
- package/dist/src/custom-layers/RadialGradientLayer/types.d.ts +0 -50
- package/dist/src/custom-layers/extractCustomLayerStyle.d.ts +0 -17
- package/dist/src/custom-layers/index.d.ts +0 -6
- package/dist/src/helpers/index.d.ts +0 -5
- package/dist/src/helpers/screenshot.d.ts +0 -18
- package/dist/src/helpers/stylehelper.d.ts +0 -28
- package/dist/src/helpers/vectorlayerhelpers.d.ts +0 -508
- package/dist/src/index.d.ts +0 -100
- package/dist/src/language.d.ts +0 -107
- package/dist/src/mapstyle.d.ts +0 -18
- package/dist/src/ml-types.d.ts +0 -634
- package/dist/src/tools.d.ts +0 -84
- package/dist/src/types.d.ts +0 -1
- package/dist/src/utils/dom.d.ts +0 -2
- package/dist/src/utils/errors.d.ts +0 -5
- package/dist/src/utils/geo-utils.d.ts +0 -6
- package/dist/src/utils/index.d.ts +0 -1
- package/dist/src/utils/math-utils.d.ts +0 -8
- package/dist/src/utils/object.d.ts +0 -1
- package/dist/src/utils/webgl-utils.d.ts +0 -49
package/dist/src/language.d.ts
DELETED
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
import { LanguageInfo } from '@maptiler/client';
|
|
2
|
-
declare const Language: {
|
|
3
|
-
readonly ALBANIAN: LanguageInfo;
|
|
4
|
-
readonly AMHARIC: LanguageInfo;
|
|
5
|
-
readonly ARABIC: LanguageInfo;
|
|
6
|
-
readonly ARMENIAN: LanguageInfo;
|
|
7
|
-
readonly AZERBAIJANI: LanguageInfo;
|
|
8
|
-
readonly BASQUE: LanguageInfo;
|
|
9
|
-
readonly BELARUSIAN: LanguageInfo;
|
|
10
|
-
readonly BENGALI: LanguageInfo;
|
|
11
|
-
readonly BOSNIAN: LanguageInfo;
|
|
12
|
-
readonly BRETON: LanguageInfo;
|
|
13
|
-
readonly BULGARIAN: LanguageInfo;
|
|
14
|
-
readonly CATALAN: LanguageInfo;
|
|
15
|
-
readonly CHINESE: LanguageInfo;
|
|
16
|
-
readonly TRADITIONAL_CHINESE: LanguageInfo;
|
|
17
|
-
readonly SIMPLIFIED_CHINESE: LanguageInfo;
|
|
18
|
-
readonly CORSICAN: LanguageInfo;
|
|
19
|
-
readonly CROATIAN: LanguageInfo;
|
|
20
|
-
readonly CZECH: LanguageInfo;
|
|
21
|
-
readonly DANISH: LanguageInfo;
|
|
22
|
-
readonly DUTCH: LanguageInfo;
|
|
23
|
-
readonly GERMAN: LanguageInfo;
|
|
24
|
-
readonly GREEK: LanguageInfo;
|
|
25
|
-
readonly ENGLISH: LanguageInfo;
|
|
26
|
-
readonly ESPERANTO: LanguageInfo;
|
|
27
|
-
readonly ESTONIAN: LanguageInfo;
|
|
28
|
-
readonly FINNISH: LanguageInfo;
|
|
29
|
-
readonly FRENCH: LanguageInfo;
|
|
30
|
-
readonly FRISIAN: LanguageInfo;
|
|
31
|
-
readonly GEORGIAN: LanguageInfo;
|
|
32
|
-
readonly HEBREW: LanguageInfo;
|
|
33
|
-
readonly HINDI: LanguageInfo;
|
|
34
|
-
readonly HUNGARIAN: LanguageInfo;
|
|
35
|
-
readonly ICELANDIC: LanguageInfo;
|
|
36
|
-
readonly INDONESIAN: LanguageInfo;
|
|
37
|
-
readonly IRISH: LanguageInfo;
|
|
38
|
-
readonly ITALIAN: LanguageInfo;
|
|
39
|
-
readonly JAPANESE: LanguageInfo;
|
|
40
|
-
readonly JAPANESE_HIRAGANA: LanguageInfo;
|
|
41
|
-
readonly JAPANESE_2018: LanguageInfo;
|
|
42
|
-
readonly JAPANESE_KANA: LanguageInfo;
|
|
43
|
-
readonly JAPANESE_LATIN: LanguageInfo;
|
|
44
|
-
readonly KANNADA: LanguageInfo;
|
|
45
|
-
readonly KAZAKH: LanguageInfo;
|
|
46
|
-
readonly KOREAN: LanguageInfo;
|
|
47
|
-
readonly KOREAN_LATIN: LanguageInfo;
|
|
48
|
-
readonly KURDISH: LanguageInfo;
|
|
49
|
-
readonly CLASSICAL_LATIN: LanguageInfo;
|
|
50
|
-
readonly LATVIAN: LanguageInfo;
|
|
51
|
-
readonly LITHUANIAN: LanguageInfo;
|
|
52
|
-
readonly LUXEMBOURGISH: LanguageInfo;
|
|
53
|
-
readonly MACEDONIAN: LanguageInfo;
|
|
54
|
-
readonly MALAYALAM: LanguageInfo;
|
|
55
|
-
readonly MALTESE: LanguageInfo;
|
|
56
|
-
readonly NORWEGIAN: LanguageInfo;
|
|
57
|
-
readonly OCCITAN: LanguageInfo;
|
|
58
|
-
readonly PERSIAN: LanguageInfo;
|
|
59
|
-
readonly POLISH: LanguageInfo;
|
|
60
|
-
readonly PORTUGUESE: LanguageInfo;
|
|
61
|
-
readonly PUNJABI: LanguageInfo;
|
|
62
|
-
readonly WESTERN_PUNJABI: LanguageInfo;
|
|
63
|
-
readonly ROMANIAN: LanguageInfo;
|
|
64
|
-
readonly ROMANSH: LanguageInfo;
|
|
65
|
-
readonly RUSSIAN: LanguageInfo;
|
|
66
|
-
readonly SERBIAN_CYRILLIC: LanguageInfo;
|
|
67
|
-
readonly SERBIAN_LATIN: LanguageInfo;
|
|
68
|
-
readonly SCOTTISH_GAELIC: LanguageInfo;
|
|
69
|
-
readonly SLOVAK: LanguageInfo;
|
|
70
|
-
readonly SLOVENE: LanguageInfo;
|
|
71
|
-
readonly SPANISH: LanguageInfo;
|
|
72
|
-
readonly SWEDISH: LanguageInfo;
|
|
73
|
-
readonly TAMIL: LanguageInfo;
|
|
74
|
-
readonly TELUGU: LanguageInfo;
|
|
75
|
-
readonly THAI: LanguageInfo;
|
|
76
|
-
readonly TURKISH: LanguageInfo;
|
|
77
|
-
readonly UKRAINIAN: LanguageInfo;
|
|
78
|
-
readonly VIETNAMESE: LanguageInfo;
|
|
79
|
-
readonly WELSH: LanguageInfo;
|
|
80
|
-
readonly AUTO: LanguageInfo;
|
|
81
|
-
readonly LATIN: LanguageInfo;
|
|
82
|
-
readonly NON_LATIN: LanguageInfo;
|
|
83
|
-
readonly LOCAL: LanguageInfo;
|
|
84
|
-
/**
|
|
85
|
-
* Language mode to display labels in both the local language and the language of the visitor's device, concatenated.
|
|
86
|
-
* Note that if those two languages are the same, labels won't be duplicated.
|
|
87
|
-
*/
|
|
88
|
-
readonly VISITOR: LanguageInfo;
|
|
89
|
-
/**
|
|
90
|
-
* Language mode to display labels in both the local language and English, concatenated.
|
|
91
|
-
* Note that if those two languages are the same, labels won't be duplicated.
|
|
92
|
-
*/
|
|
93
|
-
readonly VISITOR_ENGLISH: LanguageInfo;
|
|
94
|
-
/**
|
|
95
|
-
* Language mode to display labels in a language enforced in the style.
|
|
96
|
-
*/
|
|
97
|
-
readonly STYLE: LanguageInfo;
|
|
98
|
-
/**
|
|
99
|
-
* Language mode to display labels in a language enforced in the style. The language cannot be further modified.
|
|
100
|
-
*/
|
|
101
|
-
readonly STYLE_LOCK: LanguageInfo;
|
|
102
|
-
};
|
|
103
|
-
/**
|
|
104
|
-
* Get the browser language
|
|
105
|
-
*/
|
|
106
|
-
export declare function getBrowserLanguage(): LanguageInfo;
|
|
107
|
-
export { Language, type LanguageInfo };
|
package/dist/src/mapstyle.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { ReferenceMapStyle, MapStyleVariant } from '@maptiler/client';
|
|
2
|
-
export declare function styleToStyle(style: string | ReferenceMapStyle | MapStyleVariant | maplibregl.StyleSpecification | null | undefined): {
|
|
3
|
-
style: string | maplibregl.StyleSpecification;
|
|
4
|
-
requiresUrlMonitoring: boolean;
|
|
5
|
-
isFallback: boolean;
|
|
6
|
-
isJSON?: boolean;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* makes sure a URL is absolute
|
|
10
|
-
*/
|
|
11
|
-
export declare function urlToAbsoluteUrl(url: string): string;
|
|
12
|
-
type StyleValidationReport = {
|
|
13
|
-
isValidJSON: boolean;
|
|
14
|
-
isValidStyle: boolean;
|
|
15
|
-
styleObject: maplibregl.StyleSpecification | null;
|
|
16
|
-
};
|
|
17
|
-
export declare function convertStringToStyleSpecification(str: string): StyleValidationReport;
|
|
18
|
-
export {};
|