@maptiler/sdk 4.0.1 → 4.0.2
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/dist/maptiler-sdk.mjs +928 -915
- package/dist/maptiler-sdk.mjs.map +1 -1
- package/dist/tools.d.ts +2 -2
- package/package.json +3 -3
package/dist/tools.d.ts
CHANGED
|
@@ -37,11 +37,11 @@ export declare function isValidGeoJSON<T>(obj: T & {
|
|
|
37
37
|
* if there is no error (WebGL is supported), or returns a string with the error message if WebGL2 is
|
|
38
38
|
* not supported.
|
|
39
39
|
*/
|
|
40
|
-
export declare function getWebGLSupportError(): string | null;
|
|
40
|
+
export declare function getWebGLSupportError(canvasContextAttributes?: WebGLContextAttributes): string | null;
|
|
41
41
|
/**
|
|
42
42
|
* Display an error message in the Map div if WebGL2 is not supported
|
|
43
43
|
*/
|
|
44
|
-
export declare function displayNoWebGlWarning(container: HTMLElement | string): void;
|
|
44
|
+
export declare function displayNoWebGlWarning(container: HTMLElement | string, canvasContextAttributes?: WebGLContextAttributes): void;
|
|
45
45
|
/**
|
|
46
46
|
* Display a warning message in the Map div if the WebGL context was lost
|
|
47
47
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maptiler/sdk",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.2",
|
|
4
4
|
"description": "The Javascript & TypeScript map SDK tailored for MapTiler Cloud",
|
|
5
5
|
"author": "MapTiler",
|
|
6
6
|
"module": "dist/maptiler-sdk.mjs",
|
|
@@ -101,12 +101,12 @@
|
|
|
101
101
|
},
|
|
102
102
|
"dependencies": {
|
|
103
103
|
"@maplibre/maplibre-gl-style-spec": "^24.7.0",
|
|
104
|
-
"@maptiler/client": "^3.0.
|
|
104
|
+
"@maptiler/client": "^3.0.2",
|
|
105
105
|
"eslint-plugin-compat": "^6.1.0",
|
|
106
106
|
"events": "^3.3.0",
|
|
107
107
|
"gl-matrix": "^3.4.4",
|
|
108
108
|
"js-base64": "^3.7.7",
|
|
109
109
|
"maplibre-gl": "~5.21.1",
|
|
110
|
-
"uuid": "^
|
|
110
|
+
"uuid": "^14.0.0"
|
|
111
111
|
}
|
|
112
112
|
}
|