mapicgc-gl-js 0.0.85 → 0.0.87

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.
@@ -58966,7 +58966,7 @@ function(n) {
58966
58966
  */
58967
58967
  function(n) {
58968
58968
  function e() {
58969
- return (Rn.canvg ? Promise.resolve(Rn.canvg) : import("./index.es-BWyxJuJN-B8aWB3kW.mjs")).catch(function(t) {
58969
+ return (Rn.canvg ? Promise.resolve(Rn.canvg) : import("./index.es-BWyxJuJN-DdIdVRyF.mjs")).catch(function(t) {
58970
58970
  return Promise.reject(new Error("Could not load canvg: " + t));
58971
58971
  }).then(function(t) {
58972
58972
  return t.default ? t.default : t;
@@ -61494,7 +61494,7 @@ const xq = /* @__PURE__ */ Ap(bq), wq = {
61494
61494
  bearing: 0,
61495
61495
  pitch: 0,
61496
61496
  hash: !1,
61497
- style: "https://geoserveis.icgc.cat/contextmaps/icgc_mapa_base_gris.json.json",
61497
+ style: "https://geoserveis.icgc.cat/styles/icgc_mapa_base_gris.json.json",
61498
61498
  maxZoom: 18,
61499
61499
  maxPitch: 85
61500
61500
  },
@@ -61530,42 +61530,42 @@ const xq = /* @__PURE__ */ Ap(bq), wq = {
61530
61530
  baseStyles: [
61531
61531
  {
61532
61532
  key: "TOPO",
61533
- url: "https://geoserveis.icgc.cat/contextmaps/icgc_mapa_estandard_general.json",
61533
+ url: "https://geoserveis.icgc.cat/styles/icgc_mapa_base_topografic.json",
61534
61534
  image: "https://visors.icgc.cat/contextmaps/imatges_estil/icgc_mapa_estandard.png"
61535
61535
  },
61536
61536
  {
61537
61537
  key: "ORTO",
61538
- url: "https://geoserveis.icgc.cat/contextmaps/icgc_orto_estandard.json",
61539
- image: "https://visors.icgc.cat/contextmaps/imatges_estil/icgc_orto_hibrida.png"
61538
+ url: "https://geoserveis.icgc.cat/styles/icgc_orto_estandard.json",
61539
+ image: "https://visors.icgc.cat/contextmaps/imatges_estil/icgc_orto_estandard.png"
61540
61540
  },
61541
61541
  {
61542
61542
  key: "ORTO3D",
61543
61543
  url: "https://tilemaps.icgc.cat/cdn/styles/icgc_orto_3d.json",
61544
- image: "https://visors.icgc.cat/contextmaps/imatges_estil/icgc_orto_hibrida.png"
61544
+ image: "https://visors.icgc.cat/contextmaps/imatges_estil/icgc_orto_estandard.png"
61545
61545
  },
61546
61546
  {
61547
61547
  key: "ORTOHYBRID",
61548
- url: "https://geoserveis.icgc.cat/contextmaps/icgc_orto_hibrida.json",
61548
+ url: "https://geoserveis.icgc.cat/styles/icgc_orto_hibrida.json",
61549
61549
  image: "https://visors.icgc.cat/contextmaps/imatges_estil/icgc_orto_hibrida.png"
61550
61550
  },
61551
61551
  {
61552
61552
  key: "ADMIN",
61553
- url: "https://geoserveis.icgc.cat/contextmaps/icgc_delimitacio_limits_administratius.json",
61553
+ url: "https://geoserveis.icgc.cat/styles/icgc_limits_administratius_gris.json",
61554
61554
  image: "https://visors.icgc.cat/contextmaps/imatges_estil/icgc_delimitacio_limits_administratius.png"
61555
61555
  },
61556
61556
  {
61557
61557
  key: "DARK",
61558
- url: "https://geoserveis.icgc.cat/contextmaps/icgc_mapa_base_fosc.json",
61558
+ url: "https://geoserveis.icgc.cat/styles/icgc_mapa_base_fosc.json",
61559
61559
  image: "https://visors.icgc.cat/contextmaps/imatges_estil/icgc_mapa_base_fosc.png"
61560
61560
  },
61561
61561
  {
61562
61562
  key: "LIGHT",
61563
- url: "https://geoserveis.icgc.cat/contextmaps/icgc_mapa_base_gris.json",
61563
+ url: "https://geoserveis.icgc.cat/styles/icgc_mapa_base_gris.json",
61564
61564
  image: "https://visors.icgc.cat/contextmaps/imatges_estil/icgc_mapa_base_gris.png"
61565
61565
  },
61566
61566
  {
61567
61567
  key: "GEOLOGY",
61568
- url: "https://geoserveis.icgc.cat/contextmaps/icgc_geologic_informacio.json",
61568
+ url: "https://geoserveis.icgc.cat/styles/icgc_geologic_informacio.json",
61569
61569
  image: "https://visors.icgc.cat/contextmaps/imatges_estil/icgc_geologic_informacio.png"
61570
61570
  }
61571
61571
  ],
@@ -62305,14 +62305,14 @@ const xq = /* @__PURE__ */ Ap(bq), wq = {
62305
62305
  }
62306
62306
  ]
62307
62307
  }, Aq = {
62308
- TOPO: "https://geoserveis.icgc.cat/contextmaps/icgc_mapa_estandard_general.json",
62309
- ORTO: "https://geoserveis.icgc.cat/contextmaps/icgc_orto_estandard.json",
62308
+ TOPO: "https://geoserveis.icgc.cat/styles/icgc_mapa_base_topografic.json",
62309
+ ORTO: "https://geoserveis.icgc.cat/styles/icgc_orto_estandard.json",
62310
62310
  ORTO3D: "https://tilemaps.icgc.cat/cdn/styles/icgc_orto_3d.json",
62311
- ORTOHYBRID: "https://geoserveis.icgc.cat/contextmaps/icgc_orto_hibrida.json",
62312
- ADMIN: "https://geoserveis.icgc.cat/contextmaps/icgc_delimitacio_limits_administratius.json",
62313
- DARK: "https://geoserveis.icgc.cat/contextmaps/icgc_mapa_base_fosc.json",
62314
- LIGHT: "https://geoserveis.icgc.cat/contextmaps/icgc_mapa_base_gris.json",
62315
- GEOLOGY: "https://geoserveis.icgc.cat/contextmaps/icgc_geologic_informacio.json"
62311
+ ORTOHYBRID: "https://geoserveis.icgc.cat/styles/icgc_orto_hibrida.json",
62312
+ ADMIN: "https://geoserveis.icgc.cat/styles/icgc_limits_administratius_gris.json",
62313
+ DARK: "https://geoserveis.icgc.cat/styles/icgc_mapa_base_fosc.json",
62314
+ LIGHT: "https://geoserveis.icgc.cat/styles/icgc_mapa_base_gris.json",
62315
+ GEOLOGY: "https://geoserveis.icgc.cat/styles/icgc_geologic_informacio.json"
62316
62316
  }, Eq = {
62317
62317
  ICGC5M: "https://tilemaps.icgc.cat/tileserver/tileserver/terreny-5m-30m-rgb-extent/{z}/{x}/{y}.png",
62318
62318
  WORLD30M: "https://s3.amazonaws.com/elevation-tiles-prod/terrarium/{z}/{x}/{y}.png"
@@ -64729,11 +64729,11 @@ let Ah, $f, Sr, gi, oW = class {
64729
64729
  on(e, t) {
64730
64730
  setTimeout(() => {
64731
64731
  try {
64732
- this.map.on(e, t);
64732
+ return this.map.on(e, t);
64733
64733
  } catch (i) {
64734
64734
  console.error(`Error adding event ON listener: ${i.message}`);
64735
64735
  }
64736
- }, 500);
64736
+ }, 100);
64737
64737
  }
64738
64738
  /**
64739
64739
  * Sets the style of the map.
@@ -1,4 +1,4 @@
1
- import { p as Ui } from "./index-DScdZFZm.mjs";
1
+ import { p as Ui } from "./index-Cx8g3h7b.mjs";
2
2
  var Zt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
3
3
  function No(i) {
4
4
  return i && i.__esModule && Object.prototype.hasOwnProperty.call(i, "default") ? i.default : i;