@maptiler/sdk 3.1.0 → 3.1.1
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 +2 -2
- package/package.json +2 -2
package/dist/maptiler-sdk.mjs
CHANGED
|
@@ -7934,7 +7934,7 @@ class Ts {
|
|
|
7934
7934
|
this.projectionButton.classList.remove("maplibregl-ctrl-projection-globe"), this.projectionButton.classList.remove("maplibregl-ctrl-projection-mercator"), this.map.isGlobeProjection() ? (this.projectionButton.classList.add("maplibregl-ctrl-projection-mercator"), this.projectionButton.title = "Enable Mercator projection") : (this.projectionButton.classList.add("maplibregl-ctrl-projection-globe"), this.projectionButton.title = "Enable Globe projection");
|
|
7935
7935
|
}
|
|
7936
7936
|
}
|
|
7937
|
-
const Is = "@maptiler/sdk", Es = "3.1.
|
|
7937
|
+
const Is = "@maptiler/sdk", Es = "3.1.1", Ms = "The Javascript & TypeScript map SDK tailored for MapTiler Cloud", _s = "MapTiler", zs = "dist/maptiler-sdk.mjs", Ps = "dist/maptiler-sdk.d.ts", Rs = "dist/maptiler-sdk.css", $s = "module", js = { ".": { import: "./dist/maptiler-sdk.mjs", types: "./dist/maptiler-sdk.d.ts" }, "./dist/maptiler-sdk.css": { import: "./dist/maptiler-sdk.css" }, "./style.css": { import: "./dist/maptiler-sdk.css" } }, Ns = ["maptiler", "map", "sdk", "webmap", "cloud", "webGL", "maplibre"], Os = "https://docs.maptiler.com/sdk-js/", Fs = "BSD-3-Clause", Ds = { type: "git", url: "https://github.com/maptiler/maptiler-sdk-js.git" }, qs = { prepare: "husky", doc: "rm -rf docs/* && typedoc --out docs && cp -r images docs/", ncu: "npx npm-check-updates", lint: "eslint src", "lint:fix": "eslint src --fix", "test:watch": "vitest watch -c vite.config-test.ts --dom", test: "vitest run -c vite.config-test.ts --dom", "install:clean": "rm -rf build/ dist/ node_modules/ && npm ci", dev: 'concurrently "vite -c vite.config-dev.ts" "npm run dev-umd"', "dev-umd": "npm run build-css && tsc && NODE_ENV=development vite build -w -c vite.config-umd.ts", "build-css": "mkdir -p dist build && node scripts/replace-path-with-content.js src/style/style_template.css dist/tmp_maptiler-sdk.css && cat node_modules/maplibre-gl/dist/maplibre-gl.css dist/tmp_maptiler-sdk.css > dist/maptiler-sdk.css && rm dist/tmp_maptiler-sdk.css && cp dist/maptiler-sdk.css build/maptiler-sdk.css", "build-umd": "tsc && NODE_ENV=production vite build -c vite.config-umd.ts", "build-es": "tsc && NODE_ENV=production vite build -c vite.config-es.ts", build: "npm run build-es; npm run build-umd; npm run build-css", make: "npm run install:clean && npm run build" }, Bs = { "@canvas/image-data": "^1.0.0", "@eslint/js": "^9.21.0", "@types/uuid": "^10.0.0", "@types/xmldom": "^0.1.31", "@vitest/web-worker": "^3.0.9", "@xmldom/xmldom": "^0.8.10", concurrently: "^9.1.2", eslint: "^9.21.0", "eslint-config-prettier": "^10.0.2", "eslint-plugin-prettier": "^5.2.3", "happy-dom": "^17.4.4", husky: "^8.0.0", "lint-staged": "^15.4.3", prettier: "3.5.2", typedoc: "^0.27.6", typescript: "^5.7.3", "typescript-eslint": "^8.25.0", vite: "^6.0.7", "vite-plugin-dts": "^4.5.0", vitest: "^3.0.9" }, Us = { "@maplibre/maplibre-gl-style-spec": "^23.0.0", "@maptiler/client": "^2.3.1", events: "^3.3.0", "js-base64": "^3.7.7", "maplibre-gl": "^5.0.1", uuid: "^11.0.5" }, Vs = {
|
|
7938
7938
|
name: Is,
|
|
7939
7939
|
version: Es,
|
|
7940
7940
|
description: Ms,
|
|
@@ -10620,7 +10620,7 @@ const Nl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
10620
10620
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
10621
10621
|
Wa();
|
|
10622
10622
|
function Ol() {
|
|
10623
|
-
return "3.1.
|
|
10623
|
+
return "3.1.1";
|
|
10624
10624
|
}
|
|
10625
10625
|
const Fl = S.Map, Dl = S.Marker, ql = S.Popup, Bl = S.Style, Ul = S.CanvasSource, Vl = S.GeoJSONSource, Gl = S.ImageSource, Hl = S.RasterTileSource, Kl = S.RasterDEMTileSource, Wl = S.VectorTileSource, Zl = S.VideoSource, Jl = S.NavigationControl, Yl = S.GeolocateControl, Xl = S.AttributionControl, Ql = S.LogoControl, eu = S.ScaleControl, tu = S.FullscreenControl, ru = S.TerrainControl, nu = S.BoxZoomHandler, au = S.ScrollZoomHandler, ou = S.CooperativeGesturesHandler, iu = S.KeyboardHandler, su = S.TwoFingersTouchPitchHandler, lu = S.MapWheelEvent, uu = S.MapTouchEvent, cu = S.MapMouseEvent, pu = S.config, fu = S.getVersion, {
|
|
10626
10626
|
setRTLTextPlugin: du,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maptiler/sdk",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.1",
|
|
4
4
|
"description": "The Javascript & TypeScript map SDK tailored for MapTiler Cloud",
|
|
5
5
|
"author": "MapTiler",
|
|
6
6
|
"module": "dist/maptiler-sdk.mjs",
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
},
|
|
79
79
|
"dependencies": {
|
|
80
80
|
"@maplibre/maplibre-gl-style-spec": "^23.0.0",
|
|
81
|
-
"@maptiler/client": "^2.3.
|
|
81
|
+
"@maptiler/client": "^2.3.1",
|
|
82
82
|
"events": "^3.3.0",
|
|
83
83
|
"js-base64": "^3.7.7",
|
|
84
84
|
"maplibre-gl": "^5.0.1",
|