@edugis-org/webmapx 0.1.7 → 0.1.9
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-lib/{decorate-CWgUV1hU.js → decorate-DnZTfaod.js} +6 -6
- package/dist-lib/dist-BIbq3o-p.js +213 -0
- package/dist-lib/{dist-Dm6b7XCs.js → dist-CKAaoSoW.js} +2743 -2491
- package/dist-lib/{dist-kKlmcBXq.js → dist-CWCNMXMK.js} +1 -1
- package/dist-lib/{dist-Ha9LQCut.js → dist-D-5Gmgwo.js} +1 -1
- package/dist-lib/{layer-discovery-afWzu5hY.js → layer-discovery-DFP-WHAh.js} +1 -1
- package/dist-lib/{leaflet-adapter-D9djjrKv.js → leaflet-adapter-A0rte-c7.js} +1 -1
- package/dist-lib/{maplibre-adapter-TFc3e0G9.js → maplibre-adapter-Cy6yX6o7.js} +1 -1
- package/dist-lib/ol-tilegrid-Ct4my3IN.js +24 -0
- package/dist-lib/openlayers-adapter-B8WtV1tn.js +1462 -0
- package/dist-lib/{toast-Cm28o9U6.js → toast-BsoXOdeA.js} +1 -1
- package/dist-lib/{webmapx-3d-tool-D4CTD2gB.js → webmapx-3d-tool-CLppA7mK.js} +13 -13
- package/dist-lib/{webmapx-base-tool-Dm9NAWLD.js → webmapx-base-tool-DfRa7TlD.js} +1 -1
- package/dist-lib/{webmapx-config-edit-tool-BgcSkmmg.js → webmapx-config-edit-tool-BztWspia.js} +21 -21
- package/dist-lib/{webmapx-coordinates-tool-GMfztOzE.js → webmapx-coordinates-tool-DnTSkrRG.js} +20 -20
- package/dist-lib/{webmapx-core-bundle-BDImi1RE.js → webmapx-core-bundle-CH-5vYXU.js} +607 -1519
- package/dist-lib/webmapx-draw-tool-DxQgUF1Q.js +2117 -0
- package/dist-lib/{webmapx-geolocation-tool-Rw3-Iad1.js → webmapx-geolocation-tool-DIMh2kIr.js} +26 -25
- package/dist-lib/{webmapx-import-layer-tool-DRYviHd5.js → webmapx-import-layer-tool-DMiC1TpU.js} +16 -16
- package/dist-lib/{webmapx-info-tool-BJA157cy.js → webmapx-info-tool-D-XbAU9J.js} +56 -56
- package/dist-lib/{webmapx-language-osmvector-M5y_lwOg.js → webmapx-language-osmvector-BAw9TR-M.js} +12 -11
- package/dist-lib/{webmapx-measure-tool-BXhMJFC6.js → webmapx-measure-tool-CXlg11s8.js} +34 -34
- package/dist-lib/{webmapx-modal-tool-eF6Naluv.js → webmapx-modal-tool-Cs7LRrgW.js} +3 -3
- package/dist-lib/{webmapx-plugin-tool-D2Hghf9n.js → webmapx-plugin-tool-qe2yTrWB.js} +7 -7
- package/dist-lib/{webmapx-print-tool-ob1bOsR5.js → webmapx-print-tool-DrK9sLC7.js} +27 -26
- package/dist-lib/{webmapx-search-tool-Cv8BrYvY.js → webmapx-search-tool-H7NisgWH.js} +11 -11
- package/dist-lib/webmapx-settings-EHSm-AGU.js +167 -0
- package/dist-lib/{webmapx-truearea-tool-CMB4Orm-.js → webmapx-truearea-tool-CSU9mE1D.js} +26 -26
- package/dist-lib/{webmapx-view-mode-tool-CUpLNjOj.js → webmapx-view-mode-tool-D1QyQfq8.js} +9 -9
- package/dist-lib/webmapx.css +1 -1
- package/dist-lib/webmapx.js +42 -41
- package/package.json +1 -1
- package/dist-lib/WMTS-DCN4zX0-.js +0 -1169
- package/dist-lib/alert-GeHlqlN8.js +0 -310
- package/dist-lib/button-DFdGkRPQ.js +0 -741
- package/dist-lib/checkbox-QoR4S8tV.js +0 -284
- package/dist-lib/chunk.36O46B5H-B6ZL7Sm1.js +0 -77
- package/dist-lib/chunk.3RPBFEDE-BFO1fHVm.js +0 -138
- package/dist-lib/chunk.5JY5FUCG-DTXsslmx.js +0 -1090
- package/dist-lib/chunk.6CTB5ZDJ-DjZrBd6Y.js +0 -99
- package/dist-lib/chunk.AJ3ENQ5C-Ci7Gm2b6.js +0 -175
- package/dist-lib/chunk.LD4M4QGE-CiCfhE8r.js +0 -8
- package/dist-lib/chunk.NYIIDP5N-BikXIStD.js +0 -99
- package/dist-lib/chunk.RWUUFNUL-DFztA4uV.js +0 -43
- package/dist-lib/chunk.SI4ACBFK-CLb9VfMG.js +0 -61
- package/dist-lib/chunk.YHLNUJ7P-D-kanrCf.js +0 -503
- package/dist-lib/decorators-B35AgiCU.js +0 -351
- package/dist-lib/dist-c1PlDAd1.js +0 -2359
- package/dist-lib/divider-CPm675yY.js +0 -41
- package/dist-lib/icon-CEOgWlro.js +0 -9
- package/dist-lib/icon-button-Da_nBTy3.js +0 -408
- package/dist-lib/input-CeGntPlT.js +0 -590
- package/dist-lib/ol-tilegrid-9VtyxaLG.js +0 -64
- package/dist-lib/openlayers-adapter-DVW1KCRv.js +0 -13307
- package/dist-lib/option-CBxl1mZP.js +0 -1106
- package/dist-lib/rbush-C8k41T4z.js +0 -254
- package/dist-lib/spinner-DysxdNG9.js +0 -6
- package/dist-lib/tooltip-Cucn1SiD.js +0 -197
- package/dist-lib/webmapx-draw-tool-DooAV8cF.js +0 -4336
- package/dist-lib/webmapx-settings-DDEJ8aoV.js +0 -479
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as e, i as t, n, o as r, r as i, t as a, u as o } from "./dist-
|
|
1
|
+
import { d as e, i as t, n, o as r, r as i, t as a, u as o } from "./dist-CKAaoSoW.js";
|
|
2
2
|
//#region node_modules/@allmaps/maplibre/dist/WarpedMapLayer.js
|
|
3
3
|
var s = {
|
|
4
4
|
layerId: "warped-map-layer",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as e, c as t, d as n, i as r, l as i, n as a, r as o, s, t as c, u as l } from "./dist-
|
|
1
|
+
import { a as e, c as t, d as n, i as r, l as i, n as a, r as o, s, t as c, u as l } from "./dist-CKAaoSoW.js";
|
|
2
2
|
import * as u from "leaflet";
|
|
3
3
|
//#region node_modules/@allmaps/leaflet/dist/WarpedMapLayer.js
|
|
4
4
|
var d = {
|
|
@@ -1663,7 +1663,7 @@ var rt = class {
|
|
|
1663
1663
|
tileGridModule;
|
|
1664
1664
|
getOpenLayersTileGrid(e, t) {
|
|
1665
1665
|
if (!this._layers) return null;
|
|
1666
|
-
this.tileGridModule ||= import("./ol-tilegrid-
|
|
1666
|
+
this.tileGridModule ||= import("./ol-tilegrid-Ct4my3IN.js").catch((e) => (console.warn("[ogc-client] Cannot use getOpenLayersTileGrid, the 'ol' package is probably not available.\n", e), null));
|
|
1667
1667
|
let n = this.getLayerByName(e), r = n.matrixSets.find((e) => e.identifier === t) ?? n.matrixSets[0], i = this.getMatrixSetByIdentifier(r.identifier);
|
|
1668
1668
|
return this.tileGridModule.then((e) => e ? e.buildOpenLayersTileGrid(i, r.limits) : null);
|
|
1669
1669
|
}
|
|
@@ -808,7 +808,7 @@ var T = class {
|
|
|
808
808
|
async addWarpedMapLayer(e, t) {
|
|
809
809
|
try {
|
|
810
810
|
this.beginBusyOperation();
|
|
811
|
-
let { WarpedMapLayer: n } = await import("./dist-
|
|
811
|
+
let { WarpedMapLayer: n } = await import("./dist-D-5Gmgwo.js"), r = `warpedmap-${e}`, i = new n(t, { pane: "overlayPane" });
|
|
812
812
|
return i.addTo(this.map), this.warpedMapLayers.set(e, i), this.nativeLayerInstances.set(r, i), this.logicalToNative.set(e, [r]), !0;
|
|
813
813
|
} catch (e) {
|
|
814
814
|
return console.warn("[LEAFLET LAYER SERVICE] @allmaps/leaflet not available or error loading warped map:", e), !1;
|
|
@@ -759,7 +759,7 @@ var p = class {
|
|
|
759
759
|
return t["source-layer"] && (i["source-layer"] = t["source-layer"]), t.minzoom !== void 0 && (i.minzoom = t.minzoom), t.maxzoom !== void 0 && (i.maxzoom = t.maxzoom), t.paint && typeof t.paint == "object" && (i.paint = t.paint), t.layout && typeof t.layout == "object" && (i.layout = t.layout), Array.isArray(t.filter) && (i.filter = t.filter), i;
|
|
760
760
|
}
|
|
761
761
|
async addAllmapsLayer(e, t, n) {
|
|
762
|
-
let { WarpedMapLayer: r } = await import("./dist-
|
|
762
|
+
let { WarpedMapLayer: r } = await import("./dist-CWCNMXMK.js"), i = `warpedmap-${e}`, a = new r({ layerId: i });
|
|
763
763
|
return this.map.addLayer(a, n), await a.addGeoreferenceAnnotationByUrl(t), this.warpedMapLayers.set(e, a), this.logicalToNative.set(e, [i]), !0;
|
|
764
764
|
}
|
|
765
765
|
async addCompositeLayer(e, t) {
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { n as e } from "./lib-CdHVicAE.js";
|
|
2
|
+
import { createFromCapabilitiesMatrixSet as t } from "ol/tilegrid/WMTS";
|
|
3
|
+
import { get as n } from "ol/proj";
|
|
4
|
+
import { fromEPSGCode as r, register as i } from "ol/proj/proj4";
|
|
5
|
+
//#region node_modules/@camptocamp/ogc-client/dist/wmts/ol-tilegrid.js
|
|
6
|
+
i(e);
|
|
7
|
+
async function a(e, i) {
|
|
8
|
+
let a = n(e.crs);
|
|
9
|
+
if (a ||= await r(e.crs), !a) throw Error(`[ogc-client] could not create OpenLayers tile grid, the following projection is unknown: ${e.crs}`);
|
|
10
|
+
return t({
|
|
11
|
+
SupportedCRS: a,
|
|
12
|
+
TileMatrix: e.tileMatrices.map((e) => ({
|
|
13
|
+
Identifier: e.identifier,
|
|
14
|
+
ScaleDenominator: e.scaleDenominator,
|
|
15
|
+
TopLeftCorner: e.topLeft,
|
|
16
|
+
TileWidth: e.tileWidth,
|
|
17
|
+
TileHeight: e.tileHeight,
|
|
18
|
+
MatrixWidth: e.matrixWidth,
|
|
19
|
+
MatrixHeight: e.matrixHeight
|
|
20
|
+
}))
|
|
21
|
+
}, null, i.map((e) => ({ TileMatrix: e.tileMatrix })));
|
|
22
|
+
}
|
|
23
|
+
//#endregion
|
|
24
|
+
export { a as buildOpenLayersTileGrid };
|