mapicgc-gl-js 0.0.39 → 0.0.40
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 +1 -1
- package/dist/mapicgc-gl.js +1 -1
- package/dist/mapicgc-gl.umd.js +1 -1
- package/docu_Map.md +0 -0
- package/package.json +1 -1
- package/src/config.js +809 -809
- package/src/configNode.js +809 -809
- package/src/constants/Layers.js +155 -155
- package/src/constants/Styles.js +12 -12
- package/src/constants/Terrains.js +7 -7
- package/src/map/Map.js +23 -3
package/src/constants/Layers.js
CHANGED
|
@@ -1,155 +1,155 @@
|
|
|
1
|
-
|
|
2
|
-
const Orto = {
|
|
3
|
-
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",
|
|
4
|
-
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",
|
|
5
|
-
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",
|
|
6
|
-
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",
|
|
7
|
-
ortofotoColor2019: "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_2019",
|
|
8
|
-
ortofotoColor2018: "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_2018",
|
|
9
|
-
ortofotoColor2017: "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_2017",
|
|
10
|
-
ortofotoColor2016: "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_2016",
|
|
11
|
-
ortofotoColor2015: "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_2015",
|
|
12
|
-
ortofotoColor2014: "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_2014",
|
|
13
|
-
ortofotoColor2013: "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_2013",
|
|
14
|
-
ortofotoColor2012: "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_2012",
|
|
15
|
-
ortofotoColor2011: "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_2011",
|
|
16
|
-
ortofotoColor2010: "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_2010",
|
|
17
|
-
ortofotoColor2009: "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_2009",
|
|
18
|
-
ortofotoColor2008: "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_2008",
|
|
19
|
-
ortofotoColor20062007: "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_2006-2007",
|
|
20
|
-
ortofotoColor20042005: "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_2004-2005",
|
|
21
|
-
ortofotoColor20002003: "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_2000-2003",
|
|
22
|
-
ortofotoBlancINegre1998: "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_1998",
|
|
23
|
-
ortofotoBlancINegre19941997: "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_1994-1997",
|
|
24
|
-
ortofotoColor1993: "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_1993",
|
|
25
|
-
ortofotoBlancINegre19831992: "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_1983-1992",
|
|
26
|
-
ortofotoBlancINegre19701977: "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_1970-1977",
|
|
27
|
-
ortofotoBlancINegre1956: "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_1956",
|
|
28
|
-
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",
|
|
29
|
-
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",
|
|
30
|
-
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",
|
|
31
|
-
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",
|
|
32
|
-
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",
|
|
33
|
-
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",
|
|
34
|
-
ortofotoInfraroig2019: "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_2019",
|
|
35
|
-
ortofotoInfraroig2018: "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_2018",
|
|
36
|
-
ortofotoInfraroig2017: "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_2017",
|
|
37
|
-
ortofotoInfraroig2016: "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_2016",
|
|
38
|
-
ortofotoInfraroig2015: "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_2015",
|
|
39
|
-
ortofotoInfraroig2014: "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_2014",
|
|
40
|
-
ortofotoInfraroig2013: "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_2013",
|
|
41
|
-
ortofotoInfraroig2012: "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_2012",
|
|
42
|
-
ortofotoInfraroig2011: "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_2011",
|
|
43
|
-
ortofotoInfraroig2010: "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_2010",
|
|
44
|
-
ortofotoInfraroig2009: "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_2009",
|
|
45
|
-
ortofotoInfraroig2008: "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_2008",
|
|
46
|
-
ortofotoInfraroig20062007: "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_2006-2007",
|
|
47
|
-
ortofotoInfraroig19961997: "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_1996-1997",
|
|
48
|
-
ortofotoInfraroigSerieAnual: "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_serie_anual",
|
|
49
|
-
};
|
|
50
|
-
const VectorAdmin = {
|
|
51
|
-
agrupacionsCensals2015: "https://tilemaps.icgc.cat/vector/fgb/agrupacions_censals_2015.fgb",
|
|
52
|
-
agrupacionsCensals2016: "https://tilemaps.icgc.cat/vector/fgb/agrupacions_censals_2016.fgb",
|
|
53
|
-
agrupacionsCensals2017: "https://tilemaps.icgc.cat/vector/fgb/agrupacions_censals_2017.fgb",
|
|
54
|
-
agrupacionsCensals2018: "https://tilemaps.icgc.cat/vector/fgb/agrupacions_censals_2018.fgb",
|
|
55
|
-
agrupacionsCensals2019: "https://tilemaps.icgc.cat/vector/fgb/agrupacions_censals_2019.fgb",
|
|
56
|
-
agrupacionsCensals2020: "https://tilemaps.icgc.cat/vector/fgb/agrupacions_censals_2020.fgb",
|
|
57
|
-
agrupacionsCensals2021: "https://tilemaps.icgc.cat/vector/fgb/agrupacions_censals_2021.fgb",
|
|
58
|
-
agrupacionsCensalsVigent: "https://tilemaps.icgc.cat/vector/fgb/agrupacions_censals_vigent.fgb",
|
|
59
|
-
agrupacionsCensalsVigentText: "https://tilemaps.icgc.cat/vector/fgb/agrupacions_censals_vigent_text.fgb",
|
|
60
|
-
areesBasiquesPolicials2019: "https://tilemaps.icgc.cat/vector/fgb/arees_basiques_policials_2019.fgb",
|
|
61
|
-
areesBasiquesPolicials2020: "https://tilemaps.icgc.cat/vector/fgb/arees_basiques_policials_2020.fgb",
|
|
62
|
-
areesBasiquesPolicials2022: "https://tilemaps.icgc.cat/vector/fgb/arees_basiques_policials_2022.fgb",
|
|
63
|
-
areesBasiquesPolicialsVigent: "https://tilemaps.icgc.cat/vector/fgb/arees_basiques_policials_vigent.fgb",
|
|
64
|
-
areesBasiquesPolicialsVigentText: "https://tilemaps.icgc.cat/vector/fgb/arees_basiques_policials_vigent_text.fgb",
|
|
65
|
-
areesBasiquesSalutVigent: "https://tilemaps.icgc.cat/vector/fgb/arees_basiques_salut_vigent.fgb",
|
|
66
|
-
areesBasiquesServeisSocialsVigent: "https://tilemaps.icgc.cat/vector/fgb/arees_basiques_serveis_socials_vigent.fgb",
|
|
67
|
-
areesBasiquesServeisSocialsVigentText: "https://tilemaps.icgc.cat/vector/fgb/arees_basiques_serveis_socials_vigent_text.fgb",
|
|
68
|
-
areesGestioAssistencialVigent: "https://tilemaps.icgc.cat/vector/fgb/arees_gestio_assistencial_vigent.fgb",
|
|
69
|
-
areesHidrogeologiquesAquifersVigent: "https://tilemaps.icgc.cat/vector/fgb/arees_hidrogeologiques_aquifers_vigent.fgb",
|
|
70
|
-
catalunyaVigent: "https://tilemaps.icgc.cat/vector/fgb/catalunya_vigent.fgb",
|
|
71
|
-
catalunyaVigentText: "https://tilemaps.icgc.cat/vector/fgb/catalunya_vigent_text.fgb",
|
|
72
|
-
comarques2022: "https://tilemaps.icgc.cat/vector/fgb/comarques_2022.fgb",
|
|
73
|
-
comarquesVigent: "https://tilemaps.icgc.cat/vector/fgb/comarques_vigent.fgb",
|
|
74
|
-
comarquesVigentText: "https://tilemaps.icgc.cat/vector/fgb/comarques_vigent_text.fgb",
|
|
75
|
-
districtesCensals2002: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2002.fgb",
|
|
76
|
-
districtesCensals2003: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2003.fgb",
|
|
77
|
-
districtesCensals2004: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2004.fgb",
|
|
78
|
-
districtesCensals2005: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2005.fgb",
|
|
79
|
-
districtesCensals2006: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2006.fgb",
|
|
80
|
-
districtesCensals2007: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2007.fgb",
|
|
81
|
-
districtesCensals2008: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2008.fgb",
|
|
82
|
-
districtesCensals2009: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2009.fgb",
|
|
83
|
-
districtesCensals2010: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2010.fgb",
|
|
84
|
-
districtesCensals2011: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2011.fgb",
|
|
85
|
-
districtesCensals2012: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2012.fgb",
|
|
86
|
-
districtesCensals2013: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2013.fgb",
|
|
87
|
-
districtesCensals2014: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2014.fgb",
|
|
88
|
-
districtesCensals2015: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2015.fgb",
|
|
89
|
-
districtesCensals2016: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2016.fgb",
|
|
90
|
-
districtesCensals2017: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2017.fgb",
|
|
91
|
-
districtesCensals2018: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2018.fgb",
|
|
92
|
-
districtesCensals2019: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2019.fgb",
|
|
93
|
-
districtesCensals2020: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2020.fgb",
|
|
94
|
-
districtesCensals2021: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2021.fgb",
|
|
95
|
-
districtesCensals2022: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2022.fgb",
|
|
96
|
-
districtesCensalsVigent: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_vigent.fgb",
|
|
97
|
-
districtesCensalsVigentText: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_vigent_text.fgb",
|
|
98
|
-
incendisForestalsVigent: "https://tilemaps.icgc.cat/vector/fgb/incendis_forestals_vigent.fgb",
|
|
99
|
-
incendisForestalsVigentText: "https://tilemaps.icgc.cat/vector/fgb/incendis_forestals_vigent_text.fgb",
|
|
100
|
-
municipis2022: "https://tilemaps.icgc.cat/vector/fgb/municipis_2022.fgb",
|
|
101
|
-
municipis2022Text: "https://tilemaps.icgc.cat/vector/fgb/municipis_2022_text.fgb",
|
|
102
|
-
municipisVigent: "https://tilemaps.icgc.cat/vector/fgb/municipis_vigent.fgb",
|
|
103
|
-
municipisVigentText: "https://tilemaps.icgc.cat/vector/fgb/municipis_vigent_text.fgb",
|
|
104
|
-
partitsJudicialsVigent: "https://tilemaps.icgc.cat/vector/fgb/partits_judicials_vigent.fgb",
|
|
105
|
-
partitsJudicialsVigentText: "https://tilemaps.icgc.cat/vector/fgb/partits_judicials_vigent_text.fgb",
|
|
106
|
-
plaTerritorial2015: "https://tilemaps.icgc.cat/vector/fgb/pla_territorial_2015.fgb",
|
|
107
|
-
plaTerritorialVigent: "https://tilemaps.icgc.cat/vector/fgb/pla_territorial_vigent.fgb",
|
|
108
|
-
plaTerritorialVigentText: "https://tilemaps.icgc.cat/vector/fgb/pla_territorial_vigent_text.fgb",
|
|
109
|
-
provinciesVigent: "https://tilemaps.icgc.cat/vector/fgb/provincies_vigent.fgb",
|
|
110
|
-
provinciesVigentText: "https://tilemaps.icgc.cat/vector/fgb/provincies_vigent_text.fgb",
|
|
111
|
-
regionsPolicialsVigent: "https://tilemaps.icgc.cat/vector/fgb/regions_policials_vigent.fgb",
|
|
112
|
-
regionsPolicialsVigentText: "https://tilemaps.icgc.cat/vector/fgb/regions_policials_vigent_text.fgb",
|
|
113
|
-
regionsSanitariesVigent: "https://tilemaps.icgc.cat/vector/fgb/regions_sanitaries_vigent.fgb",
|
|
114
|
-
regionsSanitariesVigentText: "https://tilemaps.icgc.cat/vector/fgb/regions_sanitaries_vigent_text.fgb",
|
|
115
|
-
seccionsCensals2002: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2002.fgb",
|
|
116
|
-
seccionsCensals2003: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2003.fgb",
|
|
117
|
-
seccionsCensals2004: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2004.fgb",
|
|
118
|
-
seccionsCensals2005: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2005.fgb",
|
|
119
|
-
seccionsCensals2006: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2006.fgb",
|
|
120
|
-
seccionsCensals2007: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2007.fgb",
|
|
121
|
-
seccionsCensals2008: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2008.fgb",
|
|
122
|
-
seccionsCensals2009: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2009.fgb",
|
|
123
|
-
seccionsCensals2010: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2010.fgb",
|
|
124
|
-
seccionsCensals2011: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2011.fgb",
|
|
125
|
-
seccionsCensals2012: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2012.fgb",
|
|
126
|
-
seccionsCensals2013: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2013.fgb",
|
|
127
|
-
seccionsCensals2014: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2014.fgb",
|
|
128
|
-
seccionsCensals2015: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2015.fgb",
|
|
129
|
-
seccionsCensals2016: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2016.fgb",
|
|
130
|
-
seccionsCensals2017: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2017.fgb",
|
|
131
|
-
seccionsCensals2018: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2018.fgb",
|
|
132
|
-
seccionsCensals2019: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2019.fgb",
|
|
133
|
-
seccionsCensals2020: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2020.fgb",
|
|
134
|
-
seccionsCensals2021: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2021.fgb",
|
|
135
|
-
seccionsCensals2022: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2022.fgb",
|
|
136
|
-
seccionsCensalsVigent: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_vigent.fgb",
|
|
137
|
-
seccionsCensalsVigentText: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_vigent_text.fgb",
|
|
138
|
-
sectorsSanitarisVigent: "https://tilemaps.icgc.cat/vector/fgb/sectors_sanitaris_vigent.fgb",
|
|
139
|
-
vegueriesVigent: "https://tilemaps.icgc.cat/vector/fgb/vegueries_vigent.fgb",
|
|
140
|
-
vegueriesVigentText: "https://tilemaps.icgc.cat/vector/fgb/vegueries_vigent_text.fgb",
|
|
141
|
-
};
|
|
142
|
-
const Vector = {
|
|
143
|
-
altimetria: "https://betaserver.icgc.cat/tileserver3/tileserver.php/alti_bt5m/{z}/{x}/{y}.pbf",
|
|
144
|
-
toponimia: "https://betaserver.icgc.cat/tileserver3/tileserver.php/redtopo/{z}/{x}/{y}.pbf",
|
|
145
|
-
};
|
|
146
|
-
const WMS = {
|
|
147
|
-
relleu: "https://tilemaps.icgc.cat/mapfactory/wmts/relleu/CAT3857/{z}/{x}/{y}.png",
|
|
148
|
-
geologia: "https://tilemaps.icgc.cat/mapfactory/wmts/geologia/MON3857NW/{z}/{x}/{y}.png",
|
|
149
|
-
administratiu: "http://geoserveis.icgc.cat/servei/catalunya/mapa-base/wmts/administratiu/MON3857NW/{z}/{x}/{y}.png",
|
|
150
|
-
simplificat: "http://geoserveis.icgc.cat/servei/catalunya/mapa-base/wmts/simplificat/MON3857NW/{z}/{x}/{y}.png",
|
|
151
|
-
cims: "https://geoserveis.icgc.cat/icc_100cims/wms/service?REQUEST=GetMap&SERVICE=WMS&VERSION=1.1.1&LAYERS=0&STYLES=&FORMAT=image/png&BGCOLOR=0xFFFFFF&TRANSPARENT=TRUE&SRS=EPSG:25831&BBOX=137118.923076923,4488408.75,650959.076923077,4749634.75&WIDTH=895&HEIGHT=455",
|
|
152
|
-
cobertesSol: "http://geoserveis.icgc.cat/servei/catalunya/cobertes-sol/wms?REQUEST=GetMap&SERVICE=WMS&VERSION=1.3.0&LAYERS=cobertes_2009&STYLES=&FORMAT=image/png&BGCOLOR=0xFFFFFF&TRANSPARENT=TRUE&CRS=EPSG:25831&BBOX=374110.828167253,4639230.79853085,452621.120632226,4703578.45000215&WIDTH=1020&HEIGHT=836",
|
|
153
|
-
};
|
|
154
|
-
|
|
155
|
-
export default {Orto,VectorAdmin, WMS, Vector};
|
|
1
|
+
|
|
2
|
+
const Orto = {
|
|
3
|
+
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",
|
|
4
|
+
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",
|
|
5
|
+
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",
|
|
6
|
+
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",
|
|
7
|
+
ortofotoColor2019: "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_2019",
|
|
8
|
+
ortofotoColor2018: "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_2018",
|
|
9
|
+
ortofotoColor2017: "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_2017",
|
|
10
|
+
ortofotoColor2016: "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_2016",
|
|
11
|
+
ortofotoColor2015: "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_2015",
|
|
12
|
+
ortofotoColor2014: "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_2014",
|
|
13
|
+
ortofotoColor2013: "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_2013",
|
|
14
|
+
ortofotoColor2012: "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_2012",
|
|
15
|
+
ortofotoColor2011: "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_2011",
|
|
16
|
+
ortofotoColor2010: "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_2010",
|
|
17
|
+
ortofotoColor2009: "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_2009",
|
|
18
|
+
ortofotoColor2008: "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_2008",
|
|
19
|
+
ortofotoColor20062007: "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_2006-2007",
|
|
20
|
+
ortofotoColor20042005: "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_2004-2005",
|
|
21
|
+
ortofotoColor20002003: "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_2000-2003",
|
|
22
|
+
ortofotoBlancINegre1998: "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_1998",
|
|
23
|
+
ortofotoBlancINegre19941997: "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_1994-1997",
|
|
24
|
+
ortofotoColor1993: "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_1993",
|
|
25
|
+
ortofotoBlancINegre19831992: "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_1983-1992",
|
|
26
|
+
ortofotoBlancINegre19701977: "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_1970-1977",
|
|
27
|
+
ortofotoBlancINegre1956: "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_1956",
|
|
28
|
+
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",
|
|
29
|
+
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",
|
|
30
|
+
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",
|
|
31
|
+
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",
|
|
32
|
+
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",
|
|
33
|
+
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",
|
|
34
|
+
ortofotoInfraroig2019: "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_2019",
|
|
35
|
+
ortofotoInfraroig2018: "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_2018",
|
|
36
|
+
ortofotoInfraroig2017: "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_2017",
|
|
37
|
+
ortofotoInfraroig2016: "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_2016",
|
|
38
|
+
ortofotoInfraroig2015: "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_2015",
|
|
39
|
+
ortofotoInfraroig2014: "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_2014",
|
|
40
|
+
ortofotoInfraroig2013: "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_2013",
|
|
41
|
+
ortofotoInfraroig2012: "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_2012",
|
|
42
|
+
ortofotoInfraroig2011: "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_2011",
|
|
43
|
+
ortofotoInfraroig2010: "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_2010",
|
|
44
|
+
ortofotoInfraroig2009: "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_2009",
|
|
45
|
+
ortofotoInfraroig2008: "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_2008",
|
|
46
|
+
ortofotoInfraroig20062007: "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_2006-2007",
|
|
47
|
+
ortofotoInfraroig19961997: "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_1996-1997",
|
|
48
|
+
ortofotoInfraroigSerieAnual: "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_serie_anual",
|
|
49
|
+
};
|
|
50
|
+
const VectorAdmin = {
|
|
51
|
+
agrupacionsCensals2015: "https://tilemaps.icgc.cat/vector/fgb/agrupacions_censals_2015.fgb",
|
|
52
|
+
agrupacionsCensals2016: "https://tilemaps.icgc.cat/vector/fgb/agrupacions_censals_2016.fgb",
|
|
53
|
+
agrupacionsCensals2017: "https://tilemaps.icgc.cat/vector/fgb/agrupacions_censals_2017.fgb",
|
|
54
|
+
agrupacionsCensals2018: "https://tilemaps.icgc.cat/vector/fgb/agrupacions_censals_2018.fgb",
|
|
55
|
+
agrupacionsCensals2019: "https://tilemaps.icgc.cat/vector/fgb/agrupacions_censals_2019.fgb",
|
|
56
|
+
agrupacionsCensals2020: "https://tilemaps.icgc.cat/vector/fgb/agrupacions_censals_2020.fgb",
|
|
57
|
+
agrupacionsCensals2021: "https://tilemaps.icgc.cat/vector/fgb/agrupacions_censals_2021.fgb",
|
|
58
|
+
agrupacionsCensalsVigent: "https://tilemaps.icgc.cat/vector/fgb/agrupacions_censals_vigent.fgb",
|
|
59
|
+
agrupacionsCensalsVigentText: "https://tilemaps.icgc.cat/vector/fgb/agrupacions_censals_vigent_text.fgb",
|
|
60
|
+
areesBasiquesPolicials2019: "https://tilemaps.icgc.cat/vector/fgb/arees_basiques_policials_2019.fgb",
|
|
61
|
+
areesBasiquesPolicials2020: "https://tilemaps.icgc.cat/vector/fgb/arees_basiques_policials_2020.fgb",
|
|
62
|
+
areesBasiquesPolicials2022: "https://tilemaps.icgc.cat/vector/fgb/arees_basiques_policials_2022.fgb",
|
|
63
|
+
areesBasiquesPolicialsVigent: "https://tilemaps.icgc.cat/vector/fgb/arees_basiques_policials_vigent.fgb",
|
|
64
|
+
areesBasiquesPolicialsVigentText: "https://tilemaps.icgc.cat/vector/fgb/arees_basiques_policials_vigent_text.fgb",
|
|
65
|
+
areesBasiquesSalutVigent: "https://tilemaps.icgc.cat/vector/fgb/arees_basiques_salut_vigent.fgb",
|
|
66
|
+
areesBasiquesServeisSocialsVigent: "https://tilemaps.icgc.cat/vector/fgb/arees_basiques_serveis_socials_vigent.fgb",
|
|
67
|
+
areesBasiquesServeisSocialsVigentText: "https://tilemaps.icgc.cat/vector/fgb/arees_basiques_serveis_socials_vigent_text.fgb",
|
|
68
|
+
areesGestioAssistencialVigent: "https://tilemaps.icgc.cat/vector/fgb/arees_gestio_assistencial_vigent.fgb",
|
|
69
|
+
areesHidrogeologiquesAquifersVigent: "https://tilemaps.icgc.cat/vector/fgb/arees_hidrogeologiques_aquifers_vigent.fgb",
|
|
70
|
+
catalunyaVigent: "https://tilemaps.icgc.cat/vector/fgb/catalunya_vigent.fgb",
|
|
71
|
+
catalunyaVigentText: "https://tilemaps.icgc.cat/vector/fgb/catalunya_vigent_text.fgb",
|
|
72
|
+
comarques2022: "https://tilemaps.icgc.cat/vector/fgb/comarques_2022.fgb",
|
|
73
|
+
comarquesVigent: "https://tilemaps.icgc.cat/vector/fgb/comarques_vigent.fgb",
|
|
74
|
+
comarquesVigentText: "https://tilemaps.icgc.cat/vector/fgb/comarques_vigent_text.fgb",
|
|
75
|
+
districtesCensals2002: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2002.fgb",
|
|
76
|
+
districtesCensals2003: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2003.fgb",
|
|
77
|
+
districtesCensals2004: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2004.fgb",
|
|
78
|
+
districtesCensals2005: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2005.fgb",
|
|
79
|
+
districtesCensals2006: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2006.fgb",
|
|
80
|
+
districtesCensals2007: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2007.fgb",
|
|
81
|
+
districtesCensals2008: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2008.fgb",
|
|
82
|
+
districtesCensals2009: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2009.fgb",
|
|
83
|
+
districtesCensals2010: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2010.fgb",
|
|
84
|
+
districtesCensals2011: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2011.fgb",
|
|
85
|
+
districtesCensals2012: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2012.fgb",
|
|
86
|
+
districtesCensals2013: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2013.fgb",
|
|
87
|
+
districtesCensals2014: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2014.fgb",
|
|
88
|
+
districtesCensals2015: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2015.fgb",
|
|
89
|
+
districtesCensals2016: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2016.fgb",
|
|
90
|
+
districtesCensals2017: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2017.fgb",
|
|
91
|
+
districtesCensals2018: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2018.fgb",
|
|
92
|
+
districtesCensals2019: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2019.fgb",
|
|
93
|
+
districtesCensals2020: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2020.fgb",
|
|
94
|
+
districtesCensals2021: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2021.fgb",
|
|
95
|
+
districtesCensals2022: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2022.fgb",
|
|
96
|
+
districtesCensalsVigent: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_vigent.fgb",
|
|
97
|
+
districtesCensalsVigentText: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_vigent_text.fgb",
|
|
98
|
+
incendisForestalsVigent: "https://tilemaps.icgc.cat/vector/fgb/incendis_forestals_vigent.fgb",
|
|
99
|
+
incendisForestalsVigentText: "https://tilemaps.icgc.cat/vector/fgb/incendis_forestals_vigent_text.fgb",
|
|
100
|
+
municipis2022: "https://tilemaps.icgc.cat/vector/fgb/municipis_2022.fgb",
|
|
101
|
+
municipis2022Text: "https://tilemaps.icgc.cat/vector/fgb/municipis_2022_text.fgb",
|
|
102
|
+
municipisVigent: "https://tilemaps.icgc.cat/vector/fgb/municipis_vigent.fgb",
|
|
103
|
+
municipisVigentText: "https://tilemaps.icgc.cat/vector/fgb/municipis_vigent_text.fgb",
|
|
104
|
+
partitsJudicialsVigent: "https://tilemaps.icgc.cat/vector/fgb/partits_judicials_vigent.fgb",
|
|
105
|
+
partitsJudicialsVigentText: "https://tilemaps.icgc.cat/vector/fgb/partits_judicials_vigent_text.fgb",
|
|
106
|
+
plaTerritorial2015: "https://tilemaps.icgc.cat/vector/fgb/pla_territorial_2015.fgb",
|
|
107
|
+
plaTerritorialVigent: "https://tilemaps.icgc.cat/vector/fgb/pla_territorial_vigent.fgb",
|
|
108
|
+
plaTerritorialVigentText: "https://tilemaps.icgc.cat/vector/fgb/pla_territorial_vigent_text.fgb",
|
|
109
|
+
provinciesVigent: "https://tilemaps.icgc.cat/vector/fgb/provincies_vigent.fgb",
|
|
110
|
+
provinciesVigentText: "https://tilemaps.icgc.cat/vector/fgb/provincies_vigent_text.fgb",
|
|
111
|
+
regionsPolicialsVigent: "https://tilemaps.icgc.cat/vector/fgb/regions_policials_vigent.fgb",
|
|
112
|
+
regionsPolicialsVigentText: "https://tilemaps.icgc.cat/vector/fgb/regions_policials_vigent_text.fgb",
|
|
113
|
+
regionsSanitariesVigent: "https://tilemaps.icgc.cat/vector/fgb/regions_sanitaries_vigent.fgb",
|
|
114
|
+
regionsSanitariesVigentText: "https://tilemaps.icgc.cat/vector/fgb/regions_sanitaries_vigent_text.fgb",
|
|
115
|
+
seccionsCensals2002: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2002.fgb",
|
|
116
|
+
seccionsCensals2003: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2003.fgb",
|
|
117
|
+
seccionsCensals2004: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2004.fgb",
|
|
118
|
+
seccionsCensals2005: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2005.fgb",
|
|
119
|
+
seccionsCensals2006: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2006.fgb",
|
|
120
|
+
seccionsCensals2007: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2007.fgb",
|
|
121
|
+
seccionsCensals2008: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2008.fgb",
|
|
122
|
+
seccionsCensals2009: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2009.fgb",
|
|
123
|
+
seccionsCensals2010: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2010.fgb",
|
|
124
|
+
seccionsCensals2011: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2011.fgb",
|
|
125
|
+
seccionsCensals2012: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2012.fgb",
|
|
126
|
+
seccionsCensals2013: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2013.fgb",
|
|
127
|
+
seccionsCensals2014: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2014.fgb",
|
|
128
|
+
seccionsCensals2015: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2015.fgb",
|
|
129
|
+
seccionsCensals2016: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2016.fgb",
|
|
130
|
+
seccionsCensals2017: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2017.fgb",
|
|
131
|
+
seccionsCensals2018: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2018.fgb",
|
|
132
|
+
seccionsCensals2019: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2019.fgb",
|
|
133
|
+
seccionsCensals2020: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2020.fgb",
|
|
134
|
+
seccionsCensals2021: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2021.fgb",
|
|
135
|
+
seccionsCensals2022: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2022.fgb",
|
|
136
|
+
seccionsCensalsVigent: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_vigent.fgb",
|
|
137
|
+
seccionsCensalsVigentText: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_vigent_text.fgb",
|
|
138
|
+
sectorsSanitarisVigent: "https://tilemaps.icgc.cat/vector/fgb/sectors_sanitaris_vigent.fgb",
|
|
139
|
+
vegueriesVigent: "https://tilemaps.icgc.cat/vector/fgb/vegueries_vigent.fgb",
|
|
140
|
+
vegueriesVigentText: "https://tilemaps.icgc.cat/vector/fgb/vegueries_vigent_text.fgb",
|
|
141
|
+
};
|
|
142
|
+
const Vector = {
|
|
143
|
+
altimetria: "https://betaserver.icgc.cat/tileserver3/tileserver.php/alti_bt5m/{z}/{x}/{y}.pbf",
|
|
144
|
+
toponimia: "https://betaserver.icgc.cat/tileserver3/tileserver.php/redtopo/{z}/{x}/{y}.pbf",
|
|
145
|
+
};
|
|
146
|
+
const WMS = {
|
|
147
|
+
relleu: "https://tilemaps.icgc.cat/mapfactory/wmts/relleu/CAT3857/{z}/{x}/{y}.png",
|
|
148
|
+
geologia: "https://tilemaps.icgc.cat/mapfactory/wmts/geologia/MON3857NW/{z}/{x}/{y}.png",
|
|
149
|
+
administratiu: "http://geoserveis.icgc.cat/servei/catalunya/mapa-base/wmts/administratiu/MON3857NW/{z}/{x}/{y}.png",
|
|
150
|
+
simplificat: "http://geoserveis.icgc.cat/servei/catalunya/mapa-base/wmts/simplificat/MON3857NW/{z}/{x}/{y}.png",
|
|
151
|
+
cims: "https://geoserveis.icgc.cat/icc_100cims/wms/service?REQUEST=GetMap&SERVICE=WMS&VERSION=1.1.1&LAYERS=0&STYLES=&FORMAT=image/png&BGCOLOR=0xFFFFFF&TRANSPARENT=TRUE&SRS=EPSG:25831&BBOX=137118.923076923,4488408.75,650959.076923077,4749634.75&WIDTH=895&HEIGHT=455",
|
|
152
|
+
cobertesSol: "http://geoserveis.icgc.cat/servei/catalunya/cobertes-sol/wms?REQUEST=GetMap&SERVICE=WMS&VERSION=1.3.0&LAYERS=cobertes_2009&STYLES=&FORMAT=image/png&BGCOLOR=0xFFFFFF&TRANSPARENT=TRUE&CRS=EPSG:25831&BBOX=374110.828167253,4639230.79853085,452621.120632226,4703578.45000215&WIDTH=1020&HEIGHT=836",
|
|
153
|
+
};
|
|
154
|
+
|
|
155
|
+
export default {Orto,VectorAdmin, WMS, Vector};
|
package/src/constants/Styles.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
const Styles = {
|
|
3
|
-
TOPO: "https://geoserveis.icgc.cat/contextmaps/icgc_mapa_estandard_general.json",
|
|
4
|
-
ORTO: "https://geoserveis.icgc.cat/contextmaps/icgc_orto_estandard.json",
|
|
5
|
-
ORTO3D: "https://tilemaps.icgc.cat/cdn/styles/icgc_orto_3d.json",
|
|
6
|
-
ADMIN: "https://geoserveis.icgc.cat/contextmaps/icgc_delimitacio_limits_administratius.json",
|
|
7
|
-
DARK: "https://geoserveis.icgc.cat/contextmaps/icgc_mapa_base_fosc.json",
|
|
8
|
-
LIGHT: "https://geoserveis.icgc.cat/contextmaps/icgc_mapa_base_gris.json",
|
|
9
|
-
GEOLOGY: "https://geoserveis.icgc.cat/contextmaps/icgc_geologic_informacio.json",
|
|
10
|
-
};
|
|
11
|
-
|
|
12
|
-
export default Styles;
|
|
1
|
+
|
|
2
|
+
const Styles = {
|
|
3
|
+
TOPO: "https://geoserveis.icgc.cat/contextmaps/icgc_mapa_estandard_general.json",
|
|
4
|
+
ORTO: "https://geoserveis.icgc.cat/contextmaps/icgc_orto_estandard.json",
|
|
5
|
+
ORTO3D: "https://tilemaps.icgc.cat/cdn/styles/icgc_orto_3d.json",
|
|
6
|
+
ADMIN: "https://geoserveis.icgc.cat/contextmaps/icgc_delimitacio_limits_administratius.json",
|
|
7
|
+
DARK: "https://geoserveis.icgc.cat/contextmaps/icgc_mapa_base_fosc.json",
|
|
8
|
+
LIGHT: "https://geoserveis.icgc.cat/contextmaps/icgc_mapa_base_gris.json",
|
|
9
|
+
GEOLOGY: "https://geoserveis.icgc.cat/contextmaps/icgc_geologic_informacio.json",
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
export default Styles;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
const Terrains = {
|
|
3
|
-
ICGC5M: "https://tilemaps.icgc.cat/tileserver/tileserver/terreny-5m-30m-rgb-extent/{z}/{x}/{y}.png",
|
|
4
|
-
WORLD30M: "https://s3.amazonaws.com/elevation-tiles-prod/terrarium/{z}/{x}/{y}.png",
|
|
5
|
-
};
|
|
6
|
-
|
|
7
|
-
export default Terrains;
|
|
1
|
+
|
|
2
|
+
const Terrains = {
|
|
3
|
+
ICGC5M: "https://tilemaps.icgc.cat/tileserver/tileserver/terreny-5m-30m-rgb-extent/{z}/{x}/{y}.png",
|
|
4
|
+
WORLD30M: "https://s3.amazonaws.com/elevation-tiles-prod/terrarium/{z}/{x}/{y}.png",
|
|
5
|
+
};
|
|
6
|
+
|
|
7
|
+
export default Terrains;
|
package/src/map/Map.js
CHANGED
|
@@ -266,7 +266,7 @@ inputsearch[0].addEventListener('input', function(event) {
|
|
|
266
266
|
*/
|
|
267
267
|
getStyle() {
|
|
268
268
|
try {
|
|
269
|
-
this.map.getStyle();
|
|
269
|
+
return this.map.getStyle();
|
|
270
270
|
} catch (error) {
|
|
271
271
|
console.error(`Error getting style: ${error.message}`);
|
|
272
272
|
}
|
|
@@ -842,7 +842,7 @@ geojson.features.forEach(feature => {
|
|
|
842
842
|
*/
|
|
843
843
|
getSource(source) {
|
|
844
844
|
try {
|
|
845
|
-
|
|
845
|
+
return this.map.getSource(source);
|
|
846
846
|
} catch (error) {
|
|
847
847
|
console.error(`Error getting source: ${error.message}`);
|
|
848
848
|
}
|
|
@@ -860,6 +860,9 @@ geojson.features.forEach(feature => {
|
|
|
860
860
|
console.error(`Error adding source: ${error.message}`);
|
|
861
861
|
}
|
|
862
862
|
}
|
|
863
|
+
|
|
864
|
+
|
|
865
|
+
|
|
863
866
|
/**
|
|
864
867
|
* Sets the style of the map.
|
|
865
868
|
* @function setStyle
|
|
@@ -915,11 +918,28 @@ geojson.features.forEach(feature => {
|
|
|
915
918
|
|
|
916
919
|
getLayer(layerId) {
|
|
917
920
|
try {
|
|
918
|
-
this.map.getLayer(layerId);
|
|
921
|
+
return this.map.getLayer(layerId);
|
|
919
922
|
} catch (error) {
|
|
920
923
|
console.error(`Error getting layer: ${error.message}`);
|
|
921
924
|
}
|
|
922
925
|
}
|
|
926
|
+
|
|
927
|
+
|
|
928
|
+
/**
|
|
929
|
+
* Set filter for specified style layer.
|
|
930
|
+
* @function setFilter
|
|
931
|
+
* @param {string} layerId - The ID of the layer to retrieve.
|
|
932
|
+
* @param {array} filter - The filter.
|
|
933
|
+
* @param {string} options - Options object.
|
|
934
|
+
*/
|
|
935
|
+
|
|
936
|
+
setFilter(layerId ,filter, options) {
|
|
937
|
+
try {
|
|
938
|
+
return this.map.setFilter(layerId, filter, options);
|
|
939
|
+
} catch (error) {
|
|
940
|
+
console.error(`Error setting filter: ${error.message}`);
|
|
941
|
+
}
|
|
942
|
+
}
|
|
923
943
|
/**
|
|
924
944
|
* Jumps to the specified coordinates and zoom on the map.
|
|
925
945
|
* @function jumpTo
|