mapicgc-gl-js 0.0.84 → 0.0.85

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/README.md CHANGED
@@ -16,7 +16,7 @@
16
16
  # MapICGC GL JS
17
17
 
18
18
 
19
- > 🌠 __Based on MapLibre GL JS version:__ 4.3.2
19
+ > 🌠 __Based on MapLibre GL JS version:__ 4.5.0
20
20
 
21
21
  The MapICGC GL JS library builds upon the open-source library [**MapLibre GL JS**](https://github.com/maplibre/maplibre-gl-js), exposing its existing capabilities while introducing new features specific to the MapICGC ecosystem. This library is tailored to seamlessly integrate with the MapICGC Cloud service, offering a comprehensive set of data to enhance web mapping experiences, including vector tiles, satellite raster tiles, DEM with Terrain RGB, and customizable styles with an editor.
22
22
 
@@ -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-C4muY-Eb.mjs")).catch(function(t) {
58969
+ return (Rn.canvg ? Promise.resolve(Rn.canvg) : import("./index.es-BWyxJuJN-B8aWB3kW.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;
@@ -62308,6 +62308,7 @@ const xq = /* @__PURE__ */ Ap(bq), wq = {
62308
62308
  TOPO: "https://geoserveis.icgc.cat/contextmaps/icgc_mapa_estandard_general.json",
62309
62309
  ORTO: "https://geoserveis.icgc.cat/contextmaps/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",
62311
62312
  ADMIN: "https://geoserveis.icgc.cat/contextmaps/icgc_delimitacio_limits_administratius.json",
62312
62313
  DARK: "https://geoserveis.icgc.cat/contextmaps/icgc_mapa_base_fosc.json",
62313
62314
  LIGHT: "https://geoserveis.icgc.cat/contextmaps/icgc_mapa_base_gris.json",
@@ -62318,6 +62319,7 @@ const xq = /* @__PURE__ */ Ap(bq), wq = {
62318
62319
  }, Sq = {
62319
62320
  Orto: {
62320
62321
  ortofotoColorProvisional: "https://geoserveis.icgc.cat/servei/catalunya/orto-territorial/wms?&bbox={bbox-epsg-3857}&format=image/png&service=WMS&version=1.1.1&request=GetMap&STYLES=&srs=EPSG:3857&transparent=true&width=256&height=256&layers=ortofoto_color_provisional",
62322
+ ortofotoColor2023: "https://geoserveis.icgc.cat/servei/catalunya/orto-territorial/wms?&bbox={bbox-epsg-3857}&format=image/png&service=WMS&version=1.1.1&request=GetMap&STYLES=&srs=EPSG:3857&transparent=true&width=256&height=256&layers=ortofoto_color_2023",
62321
62323
  ortofotoColor2022: "https://geoserveis.icgc.cat/servei/catalunya/orto-territorial/wms?&bbox={bbox-epsg-3857}&format=image/png&service=WMS&version=1.1.1&request=GetMap&STYLES=&srs=EPSG:3857&transparent=true&width=256&height=256&layers=ortofoto_color_2022",
62322
62324
  ortofotoColor2021: "https://geoserveis.icgc.cat/servei/catalunya/orto-territorial/wms?&bbox={bbox-epsg-3857}&format=image/png&service=WMS&version=1.1.1&request=GetMap&STYLES=&srs=EPSG:3857&transparent=true&width=256&height=256&layers=ortofoto_color_2021",
62323
62325
  ortofotoColor2020: "https://geoserveis.icgc.cat/servei/catalunya/orto-territorial/wms?&bbox={bbox-epsg-3857}&format=image/png&service=WMS&version=1.1.1&request=GetMap&STYLES=&srs=EPSG:3857&transparent=true&width=256&height=256&layers=ortofoto_color_2020",
@@ -62345,6 +62347,7 @@ const xq = /* @__PURE__ */ Ap(bq), wq = {
62345
62347
  ortofotoBlancINegre1945: "https://geoserveis.icgc.cat/servei/catalunya/orto-territorial/wms?&bbox={bbox-epsg-3857}&format=image/png&service=WMS&version=1.1.1&request=GetMap&STYLES=&srs=EPSG:3857&transparent=true&width=256&height=256&layers=ortofoto_blanc_i_negre_1945",
62346
62348
  ortofotoColorSerieAnual: "https://geoserveis.icgc.cat/servei/catalunya/orto-territorial/wms?&bbox={bbox-epsg-3857}&format=image/png&service=WMS&version=1.1.1&request=GetMap&STYLES=&srs=EPSG:3857&transparent=true&width=256&height=256&layers=ortofoto_color_serie_anual",
62347
62349
  ortofotoInfraroigProvisional: "https://geoserveis.icgc.cat/servei/catalunya/orto-territorial/wms?&bbox={bbox-epsg-3857}&format=image/png&service=WMS&version=1.1.1&request=GetMap&STYLES=&srs=EPSG:3857&transparent=true&width=256&height=256&layers=ortofoto_infraroig_provisional",
62350
+ ortofotoInfraroig2023: "https://geoserveis.icgc.cat/servei/catalunya/orto-territorial/wms?&bbox={bbox-epsg-3857}&format=image/png&service=WMS&version=1.1.1&request=GetMap&STYLES=&srs=EPSG:3857&transparent=true&width=256&height=256&layers=ortofoto_infraroig_2023",
62348
62351
  ortofotoInfraroig2022: "https://geoserveis.icgc.cat/servei/catalunya/orto-territorial/wms?&bbox={bbox-epsg-3857}&format=image/png&service=WMS&version=1.1.1&request=GetMap&STYLES=&srs=EPSG:3857&transparent=true&width=256&height=256&layers=ortofoto_infraroig_2022",
62349
62352
  ortofotoInfraroig2021: "https://geoserveis.icgc.cat/servei/catalunya/orto-territorial/wms?&bbox={bbox-epsg-3857}&format=image/png&service=WMS&version=1.1.1&request=GetMap&STYLES=&srs=EPSG:3857&transparent=true&width=256&height=256&layers=ortofoto_infraroig_2021",
62350
62353
  ortofotoInfraroig2020: "https://geoserveis.icgc.cat/servei/catalunya/orto-territorial/wms?&bbox={bbox-epsg-3857}&format=image/png&service=WMS&version=1.1.1&request=GetMap&STYLES=&srs=EPSG:3857&transparent=true&width=256&height=256&layers=ortofoto_infraroig_2020",
@@ -64778,11 +64781,11 @@ let Ah, $f, Sr, gi, oW = class {
64778
64781
  setSky(e) {
64779
64782
  try {
64780
64783
  e === void 0 && (this.map.options.style.includes("orto") && (e = {
64781
- "sky-color": "#37709e",
64784
+ "sky-color": "#86bbd5",
64782
64785
  "sky-horizon-blend": 0.3,
64783
- "horizon-color": "#e1e3e3",
64784
- "horizon-fog-blend": 0.9,
64785
- "fog-ground-blend": 0.85,
64786
+ "horizon-color": "#ffffff33",
64787
+ "horizon-fog-blend": 0.1,
64788
+ "fog-ground-blend": 0.75,
64786
64789
  "fog-color": "#c5d6d6"
64787
64790
  }), this.map.options.style.includes("mapa_estandard_general") && (e = {
64788
64791
  "sky-color": "#a5f0f0",
@@ -66624,7 +66627,14 @@ let Ah, $f, Sr, gi, oW = class {
66624
66627
  const r = this._createCitiesMapboxLayer();
66625
66628
  this.map.getLayer(gi.map3dOptions.layerId3d) || (this.map.addLayer(r, gi.map3dOptions.layerIdOrder), this.map.setLayerZoomRange(gi.map3dOptions.layerId3d, gi.map3dOptions.minZoomRange, gi.map3dOptions.maxZoomRange), r.deck.setProps({
66626
66629
  effects: [i]
66627
- }), this._raiseText3DStyle());
66630
+ }), this._raiseText3DStyle()), this.map.setSky({
66631
+ "sky-color": "#86bbd5",
66632
+ "sky-horizon-blend": 0.3,
66633
+ "horizon-color": "#ffffff33",
66634
+ "horizon-fog-blend": 0.1,
66635
+ "fog-ground-blend": 0.75,
66636
+ "fog-color": "#c5d6d6"
66637
+ });
66628
66638
  } else
66629
66639
  this.map.getLayer(gi.map3dOptions.layerId3d) && (this.map.removeLayer(gi.map3dOptions.layerId3d), this.map.setTerrain(null));
66630
66640
  } catch (t) {
@@ -1,4 +1,4 @@
1
- import { p as Ui } from "./index-BFMDzCuG.mjs";
1
+ import { p as Ui } from "./index-DScdZFZm.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;
@@ -685,6 +685,48 @@ a.maplibregl-ctrl-logo.maplibregl-compact {
685
685
  width: 100% !important;
686
686
  z-index: 99999;
687
687
  }
688
+
689
+
690
+
691
+
692
+
693
+
694
+
695
+
696
+
697
+
698
+
699
+
700
+
701
+
702
+
703
+
704
+
705
+
706
+
707
+
708
+
709
+
710
+
711
+
712
+
713
+
714
+
715
+
716
+
717
+
718
+
719
+
720
+
721
+
722
+
723
+
724
+
725
+
726
+
727
+
728
+ /* CUSTOM */
729
+
688
730
  .basemap-group {
689
731
  font: 12px/20px 'Helvetica Neue', Arial, Helvetica, sans-serif;
690
732
  font-weight: 600;