@maptiler/sdk 3.6.2-rc1 → 3.6.2-rc2
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
CHANGED
|
@@ -8228,7 +8228,7 @@ class Al {
|
|
|
8228
8228
|
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");
|
|
8229
8229
|
}
|
|
8230
8230
|
}
|
|
8231
|
-
const El = "@maptiler/sdk", Tl = "3.6.2-
|
|
8231
|
+
const El = "@maptiler/sdk", Tl = "3.6.2-rc2", _l = "The Javascript & TypeScript map SDK tailored for MapTiler Cloud", Il = "MapTiler", Ml = "dist/maptiler-sdk.mjs", Pl = "dist/maptiler-sdk.d.ts", Rl = "dist/maptiler-sdk.css", zl = "module", Fl = "dist/maptiler-sdk.mjs", $l = { ".": { 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" } }, Ol = ["maptiler", "map", "sdk", "webmap", "cloud", "webGL", "maplibre"], jl = "https://docs.maptiler.com/sdk-js/", Nl = "BSD-3-Clause", Dl = { type: "git", url: "https://github.com/maptiler/maptiler-sdk-js.git" }, Ul = { prepare: "husky", doc: "rm -rf docs/* && typedoc --out docs && cp -r images docs/", ncu: "npx npm-check-updates", lint: "tsc --noEmit && eslint src", "lint:fix": "tsc --noEmit && 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: "npm run build-css && vite -c vite.config-dev.ts", "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" }, Bl = { "@canvas/image-data": "^1.0.0", "@eslint/js": "^9.21.0", "@types/color-convert": "^2.0.4", "@types/color-name": "^2.0.0", "@types/stats.js": "^0.17.4", "@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", jiti: "^2.4.2", "lint-staged": "^15.4.3", prettier: "3.5.2", "stats.js": "^0.17.0", 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" }, ql = { "@maplibre/maplibre-gl-style-spec": "~23.3.0", "@maptiler/client": "~2.4.0", events: "^3.3.0", "gl-matrix": "^3.4.3", "js-base64": "^3.7.7", "maplibre-gl": "~5.6.0", uuid: "^11.0.5" }, Gl = {
|
|
8232
8232
|
name: El,
|
|
8233
8233
|
version: Tl,
|
|
8234
8234
|
description: _l,
|
|
@@ -10317,7 +10317,7 @@ let Ru = class no extends k.Map {
|
|
|
10317
10317
|
const g = this.getLayersOrder()[0];
|
|
10318
10318
|
this.space ? this.setSpaceFromStyle({ style: b }) : this.initSpace({ before: g, spec: (L = (A = b.metadata) == null ? void 0 : A.maptiler) == null ? void 0 : L.space }), this.halo ? this.setHaloFromStyle({ style: b }) : this.initHalo({ before: g, spec: (fe = (z = b.metadata) == null ? void 0 : z.maptiler) == null ? void 0 : fe.halo });
|
|
10319
10319
|
};
|
|
10320
|
-
return this.styleInProcess && !this.spaceboxLoadingState.styleLoadCallbackSet ? (this.once("style.load", l), this.spaceboxLoadingState.styleLoadCallbackSet = !0, this) : ((f = o == null ? void 0 : o.terrain) == null ? void 0 : f.source) !== ((d = i == null ? void 0 : i.terrain) == null ? void 0 : d.source) || ((h = o == null ? void 0 : o.terrain) == null ? void 0 : h.exaggeration) !== ((y = i == null ? void 0 : i.terrain) == null ? void 0 : y.exaggeration) ? (this.once("terrain", s), this) : (m = i == null ? void 0 : i.projection) != null && m.type ? (l(), this) : (this.styleInProcess = !0, this);
|
|
10320
|
+
return this.styleInProcess && !this.spaceboxLoadingState.styleLoadCallbackSet ? (this.once("style.load", l), this.spaceboxLoadingState.styleLoadCallbackSet = !0, this) : ((f = o == null ? void 0 : o.terrain) == null ? void 0 : f.source) !== ((d = i == null ? void 0 : i.terrain) == null ? void 0 : d.source) || ((h = o == null ? void 0 : o.terrain) == null ? void 0 : h.exaggeration) !== ((y = i == null ? void 0 : i.terrain) == null ? void 0 : y.exaggeration) ? (this.once("terrain", s), this) : (m = i == null ? void 0 : i.projection) != null && m.type ? (this.spaceboxLoadingState.styleLoadCallbackSet || (l(), this.spaceboxLoadingState.styleLoadCallbackSet = !1), this) : (this.styleInProcess = !0, this);
|
|
10321
10321
|
}
|
|
10322
10322
|
/**
|
|
10323
10323
|
* Adds a [MapLibre style layer](https://maplibre.org/maplibre-style-spec/layers)
|
|
@@ -12604,7 +12604,7 @@ const Cc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
12604
12604
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
12605
12605
|
Go();
|
|
12606
12606
|
function Lc() {
|
|
12607
|
-
return "3.6.2-
|
|
12607
|
+
return "3.6.2-rc2";
|
|
12608
12608
|
}
|
|
12609
12609
|
const Ac = k.Map, Ec = k.Marker, Tc = k.Popup, _c = k.Style, Ic = k.CanvasSource, Mc = k.GeoJSONSource, Pc = k.ImageSource, Rc = k.RasterTileSource, zc = k.RasterDEMTileSource, Fc = k.VectorTileSource, $c = k.VideoSource, Oc = k.NavigationControl, jc = k.GeolocateControl, Nc = k.AttributionControl, Dc = k.LogoControl, Uc = k.ScaleControl, Bc = k.FullscreenControl, qc = k.TerrainControl, Gc = k.BoxZoomHandler, Vc = k.ScrollZoomHandler, Hc = k.CooperativeGesturesHandler, Kc = k.KeyboardHandler, Xc = k.TwoFingersTouchPitchHandler, Zc = k.MapWheelEvent, Yc = k.MapTouchEvent, Wc = k.MapMouseEvent, Jc = k.config, Qc = k.getVersion, {
|
|
12610
12610
|
setRTLTextPlugin: ep,
|