mapicgc-gl-js 1.0.6 → 1.0.8-beta.0

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.
Files changed (58) hide show
  1. package/README.md +2 -4
  2. package/dist/array-utils-flat-DeB-J5jn.mjs +1523 -0
  3. package/dist/assets/maplibre-gl-worker-HMCkgiD4.js +10 -0
  4. package/dist/buffer-transform-CH0poqqn.mjs +941 -0
  5. package/dist/expression-CtaQKvTZ.mjs +3444 -0
  6. package/dist/get-attribute-from-layouts-DqvACIaG.mjs +936 -0
  7. package/dist/{html2canvas-DhrjCa5K-6_3CwS_m.mjs → html2canvas-Cgp0Hyhk-HIw4n-A9.mjs} +105 -109
  8. package/dist/{index.es-D_FsJY9H-CO3QIBGM.mjs → index.es-lgdlL0gw-Bl7I-U5B.mjs} +176 -176
  9. package/dist/mapicgc-gl-js.css +1 -1
  10. package/dist/mapicgc-gl.css +199 -0
  11. package/dist/mapicgc-gl.js +5079 -856
  12. package/dist/mapicgc-gl.mjs +88020 -64301
  13. package/dist/purify.es-DNpVkA56-DxzGf9c8.mjs +769 -0
  14. package/dist/{chunk-efA98nb6-Dfm7IivL.mjs → rolldown-runtime-3b4jIN3o-CmciV3xi.mjs} +2 -2
  15. package/dist/{typeof-CTd55yxz-BxqQpTq1.mjs → typeof-C3azmBUr-9LkZMuan.mjs} +1 -1
  16. package/dist/webgl-Cep-x0-T.mjs +784 -0
  17. package/nodeSetConfig.js +6 -6
  18. package/package.json +19 -14
  19. package/public/mapicgc-gl.css +199 -0
  20. package/src/config-out.js +7 -7
  21. package/src/config.js +1068 -825
  22. package/src/configNode.js +1027 -18
  23. package/src/constants/Layers.js +31 -1
  24. package/src/constants/Styles.js +6 -6
  25. package/src/controls/ApiTerritorialControl.js +222 -0
  26. package/src/index.js +18 -1
  27. package/src/map/Map.js +326 -169
  28. package/src/mapicgc-config.json +333 -88
  29. package/src/plugins/CompareMaps.js +2 -1
  30. package/src/territorial/ApiTerritorialControl.js +1 -0
  31. package/src/territorial/mostraPanellInfo.js +250 -0
  32. package/src/territorial/searchApiTerritorialICGC.js +250 -0
  33. package/test/exemples/addApiTerritorialICGC.html +113 -0
  34. package/test/exemples/addBasemap.html +6 -6
  35. package/test/exemples/addCompare.html +7 -6
  36. package/test/exemples/addControl.html +12 -6
  37. package/test/exemples/addFeatureQuery.html +5 -4
  38. package/test/exemples/addGeocoderICGC.html +5 -4
  39. package/test/exemples/addICGCTerrain.html +6 -5
  40. package/test/exemples/addICGCTerrainCustomStyle.html +5 -4
  41. package/test/exemples/addImageLayerICGC.html +5 -4
  42. package/test/exemples/addLayerGeojson.html +5 -4
  43. package/test/exemples/addLayerTree.html +5 -4
  44. package/test/exemples/addLogo.html +5 -3
  45. package/test/exemples/addMapStyle.html +5 -4
  46. package/test/exemples/addMarker.html +5 -4
  47. package/test/exemples/addMouseCoordinateControl.html +5 -4
  48. package/test/exemples/addReliefStyle.html +6 -5
  49. package/test/exemples/addVectorLayerICGC.html +5 -4
  50. package/test/exemples/advancedExemple.html +5 -4
  51. package/test/exemples/fetchData.html +6 -5
  52. package/test/exemples/fetchDataAndMenu.html +5 -4
  53. package/test/exemples/styleOrto3D.html +8 -4
  54. package/test/vitest/ApiTerritorialControl.test.js +76 -0
  55. package/vite.config.mjs +16 -5
  56. package/dist/purify.es-DVGU85zV-CJOZ7ABI.mjs +0 -549
  57. package/dist/webgl-device-B1jTrfKA.mjs +0 -6880
  58. package/dist/webgl-device-D8jkwRzb.mjs +0 -2
package/README.md CHANGED
@@ -16,7 +16,7 @@
16
16
  # MapICGC GL JS
17
17
 
18
18
 
19
- > 🌠 __Based on MapLibre GL JS version:__ 5.1.1
19
+ > 🌠 __Based on MapLibre GL JS version:__ 6.10.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
 
@@ -50,9 +50,7 @@ Check out the features through <a href="https://codepen.io/collection/mrvVZd" ta
50
50
  ```html
51
51
  <script>
52
52
  import { Map, Config } from "mapicgc-gl-js";
53
- //import * as mapicgcgl from "mapicgc-gl-js";
54
-
55
-
53
+
56
54
  async function initMap() {
57
55
  const data = await Config.getConfigICGC(); //load config
58
56
  const map = new Map({