@maptiler/sdk 3.12.0-rc.1 → 4.0.0-rc.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.css +1 -1
- package/dist/maptiler-sdk.mjs +1403 -1342
- package/dist/maptiler-sdk.mjs.map +1 -1
- package/dist/src/Map.d.ts +0 -10
- package/dist/src/tools.d.ts +1 -0
- package/package.json +4 -4
package/dist/src/Map.d.ts
CHANGED
|
@@ -482,16 +482,6 @@ export declare class Map extends maplibregl.Map {
|
|
|
482
482
|
* Returns whether a globe projection is currently being used
|
|
483
483
|
*/
|
|
484
484
|
isGlobeProjection(): boolean;
|
|
485
|
-
/**
|
|
486
|
-
* Activate the globe projection and persist this change during future style changes.
|
|
487
|
-
* @deprecated Will be removed in v4.0.0. Use `map.setProjection("globe", { persist: true })` instead.
|
|
488
|
-
*/
|
|
489
|
-
enableGlobeProjection(): void;
|
|
490
|
-
/**
|
|
491
|
-
* Activate the mercator projection and persist this change during future style changes.
|
|
492
|
-
* @deprecated Will be removed in v4.0.0. Use `map.setProjection("mercator", { persist: true })` instead.
|
|
493
|
-
*/
|
|
494
|
-
enableMercatorProjection(): void;
|
|
495
485
|
/**
|
|
496
486
|
* Sets the projection to one of {@linkcode ProjectionTypes}.
|
|
497
487
|
* @param projection - the projection type to set
|
package/dist/src/tools.d.ts
CHANGED
|
@@ -66,6 +66,7 @@ export declare function checkNamePattern(str: string, localized: boolean): {
|
|
|
66
66
|
* Replaces the occurences of {name:xx} in a string by a provided object-expression to return a concat object expression
|
|
67
67
|
*/
|
|
68
68
|
export declare function replaceLanguage(origLang: string, newLang: maplibregl.ExpressionSpecification, localized: boolean): maplibregl.ExpressionSpecification;
|
|
69
|
+
export declare function addFormatElevationExpressionFromString(expression: maplibregl.ExpressionSpecification | string): maplibregl.ExpressionSpecification | string;
|
|
69
70
|
/**
|
|
70
71
|
* Find languages used in string label definition.
|
|
71
72
|
* The returned array contains languages such as "en", "fr" but
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maptiler/sdk",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0-rc.2",
|
|
4
4
|
"description": "The Javascript & TypeScript map SDK tailored for MapTiler Cloud",
|
|
5
5
|
"author": "MapTiler",
|
|
6
6
|
"module": "dist/maptiler-sdk.mjs",
|
|
@@ -97,13 +97,13 @@
|
|
|
97
97
|
"vitest": "^3.0.9"
|
|
98
98
|
},
|
|
99
99
|
"dependencies": {
|
|
100
|
-
"@maplibre/maplibre-gl-style-spec": "
|
|
101
|
-
"@maptiler/client": "
|
|
100
|
+
"@maplibre/maplibre-gl-style-spec": "^24.7.0",
|
|
101
|
+
"@maptiler/client": "^3.0.0-rc.1",
|
|
102
102
|
"eslint-plugin-compat": "^6.1.0",
|
|
103
103
|
"events": "^3.3.0",
|
|
104
104
|
"gl-matrix": "^3.4.4",
|
|
105
105
|
"js-base64": "^3.7.7",
|
|
106
|
-
"maplibre-gl": "~5.
|
|
106
|
+
"maplibre-gl": "~5.20.1",
|
|
107
107
|
"uuid": "^11.0.5"
|
|
108
108
|
}
|
|
109
109
|
}
|