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/src/config.js CHANGED
@@ -1,809 +1,809 @@
1
-
2
- const urlImages = "https://visors.icgc.cat/contextmaps/imatges_estil/";
3
- const urlStyles = "https://geoserveis.icgc.cat/contextmaps/";
4
- const geocoderUrl = "https://eines.icgc.cat/geocodificador/autocompletar?text=";
5
- const defaultOptions = {
6
- mapOptions: {
7
- container: "map",
8
- center: {
9
- 0: 1.537786,
10
- 1: 41.837539,
11
- },
12
- zoom: 7.5,
13
- bearing: 0,
14
- pitch: 0,
15
- hash: false,
16
- style: "https://geoserveis.icgc.cat/contextmaps/icgc_mapa_base_gris.json.json",
17
- maxZoom: 18,
18
- maxPitch: 85,
19
- },
20
- map3dOptions: {
21
- spaceErrorFactor: 2,
22
- zfactor: 25,
23
- minZoomRange: 15.5,
24
- maxZoomRange: 22,
25
- urlTilesetCities: "http://imtilemapsdev.icgc.local/terrenys/Ciutats/tilesetV1.0.json",
26
- layerIdOrder: "place-isolated",
27
- layerId3d: "edificisMapboxLayer",
28
- terrainSource: "ICGC5M",
29
- style3dName: "orto3d",
30
- },
31
- baseStyles: {
32
- 0: {
33
- key: "TOPO",
34
- url: "https://geoserveis.icgc.cat/contextmaps/icgc_mapa_estandard_general.json",
35
- image: "https://visors.icgc.cat/contextmaps/imatges_estil/icgc_mapa_estandard.png",
36
- },
37
- 1: {
38
- key: "ORTO",
39
- url: "https://geoserveis.icgc.cat/contextmaps/icgc_orto_estandard.json",
40
- image: "https://visors.icgc.cat/contextmaps/imatges_estil/icgc_orto_hibrida.png",
41
- },
42
- 2: {
43
- key: "ORTO3D",
44
- url: "https://tilemaps.icgc.cat/cdn/styles/icgc_orto_3d.json",
45
- image: "https://visors.icgc.cat/contextmaps/imatges_estil/icgc_orto_hibrida.png",
46
- },
47
- 3: {
48
- key: "ADMIN",
49
- url: "https://geoserveis.icgc.cat/contextmaps/icgc_delimitacio_limits_administratius.json",
50
- image: "https://visors.icgc.cat/contextmaps/imatges_estil/icgc_delimitacio_limits_administratius.png",
51
- },
52
- 4: {
53
- key: "DARK",
54
- url: "https://geoserveis.icgc.cat/contextmaps/icgc_mapa_base_fosc.json",
55
- image: "https://visors.icgc.cat/contextmaps/imatges_estil/icgc_mapa_base_fosc.png",
56
- },
57
- 5: {
58
- key: "LIGHT",
59
- url: "https://geoserveis.icgc.cat/contextmaps/icgc_mapa_base_gris.json",
60
- image: "https://visors.icgc.cat/contextmaps/imatges_estil/icgc_mapa_base_gris.png",
61
- },
62
- 6: {
63
- key: "GEOLOGY",
64
- url: "https://geoserveis.icgc.cat/contextmaps/icgc_geologic_informacio.json",
65
- image: "https://visors.icgc.cat/contextmaps/imatges_estil/icgc_geologic_informacio.png",
66
- },
67
- },
68
- urlTerrainICGC: {
69
- 0: {
70
- name: "ICGC5M",
71
- url: "https://tilemaps.icgc.cat/tileserver/tileserver/terreny-5m-30m-rgb-extent/{z}/{x}/{y}.png",
72
- },
73
- 1: {
74
- name: "WORLD30M",
75
- url: "https://s3.amazonaws.com/elevation-tiles-prod/terrarium/{z}/{x}/{y}.png",
76
- encoding: "terrarium",
77
- },
78
- },
79
- ortoLayersICGC: {
80
- 0: {
81
- name: "ortofotoColorProvisional",
82
- key: "ortofoto_color_provisional",
83
- url: "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",
84
- },
85
- 1: {
86
- name: "ortofotoColor2022",
87
- key: "ortofoto_color_2022",
88
- url: "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",
89
- },
90
- 2: {
91
- name: "ortofotoColor2021",
92
- key: "ortofoto_color_2021",
93
- url: "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",
94
- },
95
- 3: {
96
- name: "ortofotoColor2020",
97
- key: "ortofoto_color_2020",
98
- url: "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",
99
- },
100
- 4: {
101
- name: "ortofotoColor2019",
102
- key: "ortofoto_color_2019",
103
- url: "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",
104
- },
105
- 5: {
106
- name: "ortofotoColor2018",
107
- key: "ortofoto_color_2018",
108
- url: "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",
109
- },
110
- 6: {
111
- name: "ortofotoColor2017",
112
- key: "ortofoto_color_2017",
113
- url: "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",
114
- },
115
- 7: {
116
- name: "ortofotoColor2016",
117
- key: "ortofoto_color_2016",
118
- url: "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",
119
- },
120
- 8: {
121
- name: "ortofotoColor2015",
122
- key: "ortofoto_color_2015",
123
- url: "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",
124
- },
125
- 9: {
126
- name: "ortofotoColor2014",
127
- key: "ortofoto_color_2014",
128
- url: "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",
129
- },
130
- 10: {
131
- name: "ortofotoColor2013",
132
- key: "ortofoto_color_2013",
133
- url: "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",
134
- },
135
- 11: {
136
- name: "ortofotoColor2012",
137
- key: "ortofoto_color_2012",
138
- url: "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",
139
- },
140
- 12: {
141
- name: "ortofotoColor2011",
142
- key: "ortofoto_color_2011",
143
- url: "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",
144
- },
145
- 13: {
146
- name: "ortofotoColor2010",
147
- key: "ortofoto_color_2010",
148
- url: "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",
149
- },
150
- 14: {
151
- name: "ortofotoColor2009",
152
- key: "ortofoto_color_2009",
153
- url: "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",
154
- },
155
- 15: {
156
- name: "ortofotoColor2008",
157
- key: "ortofoto_color_2008",
158
- url: "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",
159
- },
160
- 16: {
161
- name: "ortofotoColor20062007",
162
- key: "ortofoto_color_2006-2007",
163
- url: "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",
164
- },
165
- 17: {
166
- name: "ortofotoColor20042005",
167
- key: "ortofoto_color_2004-2005",
168
- url: "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",
169
- },
170
- 18: {
171
- name: "ortofotoColor20002003",
172
- key: "ortofoto_color_2000-2003",
173
- url: "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",
174
- },
175
- 19: {
176
- name: "ortofotoBlancINegre1998",
177
- key: "ortofoto_blanc_i_negre_1998",
178
- url: "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",
179
- },
180
- 20: {
181
- name: "ortofotoBlancINegre19941997",
182
- key: "ortofoto_blanc_i_negre_1994-1997",
183
- url: "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",
184
- },
185
- 21: {
186
- name: "ortofotoColor1993",
187
- key: "ortofoto_color_1993",
188
- url: "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",
189
- },
190
- 22: {
191
- name: "ortofotoBlancINegre19831992",
192
- key: "ortofoto_blanc_i_negre_1983-1992",
193
- url: "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",
194
- },
195
- 23: {
196
- name: "ortofotoBlancINegre19701977",
197
- key: "ortofoto_blanc_i_negre_1970-1977",
198
- url: "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",
199
- },
200
- 24: {
201
- name: "ortofotoBlancINegre1956",
202
- key: "ortofoto_blanc_i_negre_1956",
203
- url: "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",
204
- },
205
- 25: {
206
- name: "ortofotoBlancINegre1945",
207
- key: "ortofoto_blanc_i_negre_1945",
208
- url: "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",
209
- },
210
- 26: {
211
- name: "ortofotoColorSerieAnual",
212
- key: "ortofoto_color_serie_anual",
213
- url: "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",
214
- },
215
- 27: {
216
- name: "ortofotoInfraroigProvisional",
217
- key: "ortofoto_infraroig_provisional",
218
- url: "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",
219
- },
220
- 28: {
221
- name: "ortofotoInfraroig2022",
222
- key: "ortofoto_infraroig_2022",
223
- url: "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",
224
- },
225
- 29: {
226
- name: "ortofotoInfraroig2021",
227
- key: "ortofoto_infraroig_2021",
228
- url: "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",
229
- },
230
- 30: {
231
- name: "ortofotoInfraroig2020",
232
- key: "ortofoto_infraroig_2020",
233
- url: "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",
234
- },
235
- 31: {
236
- name: "ortofotoInfraroig2019",
237
- key: "ortofoto_infraroig_2019",
238
- url: "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",
239
- },
240
- 32: {
241
- name: "ortofotoInfraroig2018",
242
- key: "ortofoto_infraroig_2018",
243
- url: "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",
244
- },
245
- 33: {
246
- name: "ortofotoInfraroig2017",
247
- key: "ortofoto_infraroig_2017",
248
- url: "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",
249
- },
250
- 34: {
251
- name: "ortofotoInfraroig2016",
252
- key: "ortofoto_infraroig_2016",
253
- url: "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",
254
- },
255
- 35: {
256
- name: "ortofotoInfraroig2015",
257
- key: "ortofoto_infraroig_2015",
258
- url: "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",
259
- },
260
- 36: {
261
- name: "ortofotoInfraroig2014",
262
- key: "ortofoto_infraroig_2014",
263
- url: "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",
264
- },
265
- 37: {
266
- name: "ortofotoInfraroig2013",
267
- key: "ortofoto_infraroig_2013",
268
- url: "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",
269
- },
270
- 38: {
271
- name: "ortofotoInfraroig2012",
272
- key: "ortofoto_infraroig_2012",
273
- url: "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",
274
- },
275
- 39: {
276
- name: "ortofotoInfraroig2011",
277
- key: "ortofoto_infraroig_2011",
278
- url: "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",
279
- },
280
- 40: {
281
- name: "ortofotoInfraroig2010",
282
- key: "ortofoto_infraroig_2010",
283
- url: "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",
284
- },
285
- 41: {
286
- name: "ortofotoInfraroig2009",
287
- key: "ortofoto_infraroig_2009",
288
- url: "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",
289
- },
290
- 42: {
291
- name: "ortofotoInfraroig2008",
292
- key: "ortofoto_infraroig_2008",
293
- url: "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",
294
- },
295
- 43: {
296
- name: "ortofotoInfraroig20062007",
297
- key: "ortofoto_infraroig_2006-2007",
298
- url: "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",
299
- },
300
- 44: {
301
- name: "ortofotoInfraroig19961997",
302
- key: "ortofoto_infraroig_1996-1997",
303
- url: "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",
304
- },
305
- 45: {
306
- name: "ortofotoInfraroigSerieAnual",
307
- key: "ortofoto_infraroig_serie_anual",
308
- url: "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",
309
- },
310
- },
311
- vectorLayersICGC: {
312
- 0: {
313
- name: "agrupacionsCensals2015",
314
- key: "agrupacions_censals_2015",
315
- url: "https://tilemaps.icgc.cat/vector/fgb/agrupacions_censals_2015.fgb",
316
- },
317
- 1: {
318
- name: "agrupacionsCensals2016",
319
- key: "agrupacions_censals_2016",
320
- url: "https://tilemaps.icgc.cat/vector/fgb/agrupacions_censals_2016.fgb",
321
- },
322
- 2: {
323
- name: "agrupacionsCensals2017",
324
- key: "agrupacions_censals_2017",
325
- url: "https://tilemaps.icgc.cat/vector/fgb/agrupacions_censals_2017.fgb",
326
- },
327
- 3: {
328
- name: "agrupacionsCensals2018",
329
- key: "agrupacions_censals_2018",
330
- url: "https://tilemaps.icgc.cat/vector/fgb/agrupacions_censals_2018.fgb",
331
- },
332
- 4: {
333
- name: "agrupacionsCensals2019",
334
- key: "agrupacions_censals_2019",
335
- url: "https://tilemaps.icgc.cat/vector/fgb/agrupacions_censals_2019.fgb",
336
- },
337
- 5: {
338
- name: "agrupacionsCensals2020",
339
- key: "agrupacions_censals_2020",
340
- url: "https://tilemaps.icgc.cat/vector/fgb/agrupacions_censals_2020.fgb",
341
- },
342
- 6: {
343
- name: "agrupacionsCensals2021",
344
- key: "agrupacions_censals_2021",
345
- url: "https://tilemaps.icgc.cat/vector/fgb/agrupacions_censals_2021.fgb",
346
- },
347
- 7: {
348
- name: "agrupacionsCensalsVigent",
349
- key: "agrupacions_censals_vigent",
350
- url: "https://tilemaps.icgc.cat/vector/fgb/agrupacions_censals_vigent.fgb",
351
- },
352
- 8: {
353
- name: "agrupacionsCensalsVigentText",
354
- key: "agrupacions_censals_vigent_text",
355
- url: "https://tilemaps.icgc.cat/vector/fgb/agrupacions_censals_vigent_text.fgb",
356
- },
357
- 9: {
358
- name: "areesBasiquesPolicials2019",
359
- key: "arees_basiques_policials_2019",
360
- url: "https://tilemaps.icgc.cat/vector/fgb/arees_basiques_policials_2019.fgb",
361
- },
362
- 10: {
363
- name: "areesBasiquesPolicials2020",
364
- key: "arees_basiques_policials_2020",
365
- url: "https://tilemaps.icgc.cat/vector/fgb/arees_basiques_policials_2020.fgb",
366
- },
367
- 11: {
368
- name: "areesBasiquesPolicials2022",
369
- key: "arees_basiques_policials_2022",
370
- url: "https://tilemaps.icgc.cat/vector/fgb/arees_basiques_policials_2022.fgb",
371
- },
372
- 12: {
373
- name: "areesBasiquesPolicialsVigent",
374
- key: "arees_basiques_policials_vigent",
375
- url: "https://tilemaps.icgc.cat/vector/fgb/arees_basiques_policials_vigent.fgb",
376
- },
377
- 13: {
378
- name: "areesBasiquesPolicialsVigentText",
379
- key: "arees_basiques_policials_vigent_text",
380
- url: "https://tilemaps.icgc.cat/vector/fgb/arees_basiques_policials_vigent_text.fgb",
381
- },
382
- 14: {
383
- name: "areesBasiquesSalutVigent",
384
- key: "arees_basiques_salut_vigent",
385
- url: "https://tilemaps.icgc.cat/vector/fgb/arees_basiques_salut_vigent.fgb",
386
- },
387
- 15: {
388
- name: "areesBasiquesServeisSocialsVigent",
389
- key: "arees_basiques_serveis_socials_vigent",
390
- url: "https://tilemaps.icgc.cat/vector/fgb/arees_basiques_serveis_socials_vigent.fgb",
391
- },
392
- 16: {
393
- name: "areesBasiquesServeisSocialsVigentText",
394
- key: "arees_basiques_serveis_socials_vigent_text",
395
- url: "https://tilemaps.icgc.cat/vector/fgb/arees_basiques_serveis_socials_vigent_text.fgb",
396
- },
397
- 17: {
398
- name: "areesGestioAssistencialVigent",
399
- key: "arees_gestio_assistencial_vigent",
400
- url: "https://tilemaps.icgc.cat/vector/fgb/arees_gestio_assistencial_vigent.fgb",
401
- },
402
- 18: {
403
- name: "areesHidrogeologiquesAquifersVigent",
404
- key: "arees_hidrogeologiques_aquifers_vigent",
405
- url: "https://tilemaps.icgc.cat/vector/fgb/arees_hidrogeologiques_aquifers_vigent.fgb",
406
- },
407
- 19: {
408
- name: "catalunyaVigent",
409
- key: "catalunya_vigent",
410
- url: "https://tilemaps.icgc.cat/vector/fgb/catalunya_vigent.fgb",
411
- },
412
- 20: {
413
- name: "catalunyaVigentText",
414
- key: "catalunya_vigent_text",
415
- url: "https://tilemaps.icgc.cat/vector/fgb/catalunya_vigent_text.fgb",
416
- },
417
- 21: {
418
- name: "comarques2022",
419
- key: "comarques_2022",
420
- url: "https://tilemaps.icgc.cat/vector/fgb/comarques_2022.fgb",
421
- },
422
- 22: {
423
- name: "comarquesVigent",
424
- key: "comarques_vigent",
425
- url: "https://tilemaps.icgc.cat/vector/fgb/comarques_vigent.fgb",
426
- },
427
- 23: {
428
- name: "comarquesVigentText",
429
- key: "comarques_vigent_text",
430
- url: "https://tilemaps.icgc.cat/vector/fgb/comarques_vigent_text.fgb",
431
- },
432
- 24: {
433
- name: "districtesCensals2002",
434
- key: "districtes_censals_2002",
435
- url: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2002.fgb",
436
- },
437
- 25: {
438
- name: "districtesCensals2003",
439
- key: "districtes_censals_2003",
440
- url: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2003.fgb",
441
- },
442
- 26: {
443
- name: "districtesCensals2004",
444
- key: "districtes_censals_2004",
445
- url: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2004.fgb",
446
- },
447
- 27: {
448
- name: "districtesCensals2005",
449
- key: "districtes_censals_2005",
450
- url: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2005.fgb",
451
- },
452
- 28: {
453
- name: "districtesCensals2006",
454
- key: "districtes_censals_2006",
455
- url: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2006.fgb",
456
- },
457
- 29: {
458
- name: "districtesCensals2007",
459
- key: "districtes_censals_2007",
460
- url: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2007.fgb",
461
- },
462
- 30: {
463
- name: "districtesCensals2008",
464
- key: "districtes_censals_2008",
465
- url: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2008.fgb",
466
- },
467
- 31: {
468
- name: "districtesCensals2009",
469
- key: "districtes_censals_2009",
470
- url: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2009.fgb",
471
- },
472
- 32: {
473
- name: "districtesCensals2010",
474
- key: "districtes_censals_2010",
475
- url: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2010.fgb",
476
- },
477
- 33: {
478
- name: "districtesCensals2011",
479
- key: "districtes_censals_2011",
480
- url: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2011.fgb",
481
- },
482
- 34: {
483
- name: "districtesCensals2012",
484
- key: "districtes_censals_2012",
485
- url: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2012.fgb",
486
- },
487
- 35: {
488
- name: "districtesCensals2013",
489
- key: "districtes_censals_2013",
490
- url: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2013.fgb",
491
- },
492
- 36: {
493
- name: "districtesCensals2014",
494
- key: "districtes_censals_2014",
495
- url: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2014.fgb",
496
- },
497
- 37: {
498
- name: "districtesCensals2015",
499
- key: "districtes_censals_2015",
500
- url: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2015.fgb",
501
- },
502
- 38: {
503
- name: "districtesCensals2016",
504
- key: "districtes_censals_2016",
505
- url: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2016.fgb",
506
- },
507
- 39: {
508
- name: "districtesCensals2017",
509
- key: "districtes_censals_2017",
510
- url: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2017.fgb",
511
- },
512
- 40: {
513
- name: "districtesCensals2018",
514
- key: "districtes_censals_2018",
515
- url: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2018.fgb",
516
- },
517
- 41: {
518
- name: "districtesCensals2019",
519
- key: "districtes_censals_2019",
520
- url: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2019.fgb",
521
- },
522
- 42: {
523
- name: "districtesCensals2020",
524
- key: "districtes_censals_2020",
525
- url: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2020.fgb",
526
- },
527
- 43: {
528
- name: "districtesCensals2021",
529
- key: "districtes_censals_2021",
530
- url: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2021.fgb",
531
- },
532
- 44: {
533
- name: "districtesCensals2022",
534
- key: "districtes_censals_2022",
535
- url: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2022.fgb",
536
- },
537
- 45: {
538
- name: "districtesCensalsVigent",
539
- key: "districtes_censals_vigent",
540
- url: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_vigent.fgb",
541
- },
542
- 46: {
543
- name: "districtesCensalsVigentText",
544
- key: "districtes_censals_vigent_text",
545
- url: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_vigent_text.fgb",
546
- },
547
- 47: {
548
- name: "incendisForestalsVigent",
549
- key: "incendis_forestals_vigent",
550
- url: "https://tilemaps.icgc.cat/vector/fgb/incendis_forestals_vigent.fgb",
551
- },
552
- 48: {
553
- name: "incendisForestalsVigentText",
554
- key: "incendis_forestals_vigent_text",
555
- url: "https://tilemaps.icgc.cat/vector/fgb/incendis_forestals_vigent_text.fgb",
556
- },
557
- 49: {
558
- name: "municipis2022",
559
- key: "municipis_2022",
560
- url: "https://tilemaps.icgc.cat/vector/fgb/municipis_2022.fgb",
561
- },
562
- 50: {
563
- name: "municipis2022Text",
564
- key: "municipis_2022_text",
565
- url: "https://tilemaps.icgc.cat/vector/fgb/municipis_2022_text.fgb",
566
- },
567
- 51: {
568
- name: "municipisVigent",
569
- key: "municipis_vigent",
570
- url: "https://tilemaps.icgc.cat/vector/fgb/municipis_vigent.fgb",
571
- },
572
- 52: {
573
- name: "municipisVigentText",
574
- key: "municipis_vigent_text",
575
- url: "https://tilemaps.icgc.cat/vector/fgb/municipis_vigent_text.fgb",
576
- },
577
- 53: {
578
- name: "partitsJudicialsVigent",
579
- key: "partits_judicials_vigent",
580
- url: "https://tilemaps.icgc.cat/vector/fgb/partits_judicials_vigent.fgb",
581
- },
582
- 54: {
583
- name: "partitsJudicialsVigentText",
584
- key: "partits_judicials_vigent_text",
585
- url: "https://tilemaps.icgc.cat/vector/fgb/partits_judicials_vigent_text.fgb",
586
- },
587
- 55: {
588
- name: "plaTerritorial2015",
589
- key: "pla_territorial_2015",
590
- url: "https://tilemaps.icgc.cat/vector/fgb/pla_territorial_2015.fgb",
591
- },
592
- 56: {
593
- name: "plaTerritorialVigent",
594
- key: "pla_territorial_vigent",
595
- url: "https://tilemaps.icgc.cat/vector/fgb/pla_territorial_vigent.fgb",
596
- },
597
- 57: {
598
- name: "plaTerritorialVigentText",
599
- key: "pla_territorial_vigent_text",
600
- url: "https://tilemaps.icgc.cat/vector/fgb/pla_territorial_vigent_text.fgb",
601
- },
602
- 58: {
603
- name: "provinciesVigent",
604
- key: "provincies_vigent",
605
- url: "https://tilemaps.icgc.cat/vector/fgb/provincies_vigent.fgb",
606
- },
607
- 59: {
608
- name: "provinciesVigentText",
609
- key: "provincies_vigent_text",
610
- url: "https://tilemaps.icgc.cat/vector/fgb/provincies_vigent_text.fgb",
611
- },
612
- 60: {
613
- name: "regionsPolicialsVigent",
614
- key: "regions_policials_vigent",
615
- url: "https://tilemaps.icgc.cat/vector/fgb/regions_policials_vigent.fgb",
616
- },
617
- 61: {
618
- name: "regionsPolicialsVigentText",
619
- key: "regions_policials_vigent_text",
620
- url: "https://tilemaps.icgc.cat/vector/fgb/regions_policials_vigent_text.fgb",
621
- },
622
- 62: {
623
- name: "regionsSanitariesVigent",
624
- key: "regions_sanitaries_vigent",
625
- url: "https://tilemaps.icgc.cat/vector/fgb/regions_sanitaries_vigent.fgb",
626
- },
627
- 63: {
628
- name: "regionsSanitariesVigentText",
629
- key: "regions_sanitaries_vigent_text",
630
- url: "https://tilemaps.icgc.cat/vector/fgb/regions_sanitaries_vigent_text.fgb",
631
- },
632
- 64: {
633
- name: "seccionsCensals2002",
634
- key: "seccions_censals_2002",
635
- url: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2002.fgb",
636
- },
637
- 65: {
638
- name: "seccionsCensals2003",
639
- key: "seccions_censals_2003",
640
- url: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2003.fgb",
641
- },
642
- 66: {
643
- name: "seccionsCensals2004",
644
- key: "seccions_censals_2004",
645
- url: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2004.fgb",
646
- },
647
- 67: {
648
- name: "seccionsCensals2005",
649
- key: "seccions_censals_2005",
650
- url: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2005.fgb",
651
- },
652
- 68: {
653
- name: "seccionsCensals2006",
654
- key: "seccions_censals_2006",
655
- url: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2006.fgb",
656
- },
657
- 69: {
658
- name: "seccionsCensals2007",
659
- key: "seccions_censals_2007",
660
- url: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2007.fgb",
661
- },
662
- 70: {
663
- name: "seccionsCensals2008",
664
- key: "seccions_censals_2008",
665
- url: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2008.fgb",
666
- },
667
- 71: {
668
- name: "seccionsCensals2009",
669
- key: "seccions_censals_2009",
670
- url: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2009.fgb",
671
- },
672
- 72: {
673
- name: "seccionsCensals2010",
674
- key: "seccions_censals_2010",
675
- url: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2010.fgb",
676
- },
677
- 73: {
678
- name: "seccionsCensals2011",
679
- key: "seccions_censals_2011",
680
- url: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2011.fgb",
681
- },
682
- 74: {
683
- name: "seccionsCensals2012",
684
- key: "seccions_censals_2012",
685
- url: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2012.fgb",
686
- },
687
- 75: {
688
- name: "seccionsCensals2013",
689
- key: "seccions_censals_2013",
690
- url: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2013.fgb",
691
- },
692
- 76: {
693
- name: "seccionsCensals2014",
694
- key: "seccions_censals_2014",
695
- url: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2014.fgb",
696
- },
697
- 77: {
698
- name: "seccionsCensals2015",
699
- key: "seccions_censals_2015",
700
- url: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2015.fgb",
701
- },
702
- 78: {
703
- name: "seccionsCensals2016",
704
- key: "seccions_censals_2016",
705
- url: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2016.fgb",
706
- },
707
- 79: {
708
- name: "seccionsCensals2017",
709
- key: "seccions_censals_2017",
710
- url: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2017.fgb",
711
- },
712
- 80: {
713
- name: "seccionsCensals2018",
714
- key: "seccions_censals_2018",
715
- url: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2018.fgb",
716
- },
717
- 81: {
718
- name: "seccionsCensals2019",
719
- key: "seccions_censals_2019",
720
- url: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2019.fgb",
721
- },
722
- 82: {
723
- name: "seccionsCensals2020",
724
- key: "seccions_censals_2020",
725
- url: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2020.fgb",
726
- },
727
- 83: {
728
- name: "seccionsCensals2021",
729
- key: "seccions_censals_2021",
730
- url: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2021.fgb",
731
- },
732
- 84: {
733
- name: "seccionsCensals2022",
734
- key: "seccions_censals_2022",
735
- url: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2022.fgb",
736
- },
737
- 85: {
738
- name: "seccionsCensalsVigent",
739
- key: "seccions_censals_vigent",
740
- url: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_vigent.fgb",
741
- },
742
- 86: {
743
- name: "seccionsCensalsVigentText",
744
- key: "seccions_censals_vigent_text",
745
- url: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_vigent_text.fgb",
746
- },
747
- 87: {
748
- name: "sectorsSanitarisVigent",
749
- key: "sectors_sanitaris_vigent",
750
- url: "https://tilemaps.icgc.cat/vector/fgb/sectors_sanitaris_vigent.fgb",
751
- },
752
- 88: {
753
- name: "vegueriesVigent",
754
- key: "vegueries_vigent",
755
- url: "https://tilemaps.icgc.cat/vector/fgb/vegueries_vigent.fgb",
756
- },
757
- 89: {
758
- name: "vegueriesVigentText",
759
- key: "vegueries_vigent_text",
760
- url: "https://tilemaps.icgc.cat/vector/fgb/vegueries_vigent_text.fgb",
761
- },
762
- },
763
- vectorLayers: {
764
- 0: {
765
- key: "altimetria",
766
- layer: "",
767
- url: "https://betaserver.icgc.cat/tileserver3/tileserver.php/alti_bt5m/{z}/{x}/{y}.pbf",
768
- },
769
- 1: {
770
- key: "toponimia",
771
- layer: "",
772
- url: "https://betaserver.icgc.cat/tileserver3/tileserver.php/redtopo/{z}/{x}/{y}.pbf",
773
- },
774
- },
775
- wmsLayers: {
776
- 0: {
777
- key: "relleu",
778
- layer: "",
779
- url: "https://tilemaps.icgc.cat/mapfactory/wmts/relleu/CAT3857/{z}/{x}/{y}.png",
780
- },
781
- 1: {
782
- key: "geologia",
783
- layer: "",
784
- url: "https://tilemaps.icgc.cat/mapfactory/wmts/geologia/MON3857NW/{z}/{x}/{y}.png",
785
- },
786
- 2: {
787
- key: "administratiu",
788
- layer: "",
789
- url: "http://geoserveis.icgc.cat/servei/catalunya/mapa-base/wmts/administratiu/MON3857NW/{z}/{x}/{y}.png",
790
- },
791
- 3: {
792
- key: "simplificat",
793
- layer: "",
794
- url: "http://geoserveis.icgc.cat/servei/catalunya/mapa-base/wmts/simplificat/MON3857NW/{z}/{x}/{y}.png",
795
- },
796
- 4: {
797
- key: "cims",
798
- layer: "",
799
- url: "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",
800
- },
801
- 5: {
802
- key: "cobertesSol",
803
- layer: "",
804
- url: "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",
805
- },
806
- },
807
- };
808
-
809
- export default defaultOptions;
1
+
2
+ const urlImages = "https://visors.icgc.cat/contextmaps/imatges_estil/";
3
+ const urlStyles = "https://geoserveis.icgc.cat/contextmaps/";
4
+ const geocoderUrl = "https://eines.icgc.cat/geocodificador/autocompletar?text=";
5
+ const defaultOptions = {
6
+ mapOptions: {
7
+ container: "map",
8
+ center: {
9
+ 0: 1.537786,
10
+ 1: 41.837539,
11
+ },
12
+ zoom: 7.5,
13
+ bearing: 0,
14
+ pitch: 0,
15
+ hash: false,
16
+ style: "https://geoserveis.icgc.cat/contextmaps/icgc_mapa_base_gris.json.json",
17
+ maxZoom: 18,
18
+ maxPitch: 85,
19
+ },
20
+ map3dOptions: {
21
+ spaceErrorFactor: 2,
22
+ zfactor: 25,
23
+ minZoomRange: 15.5,
24
+ maxZoomRange: 22,
25
+ urlTilesetCities: "http://imtilemapsdev.icgc.local/terrenys/Ciutats/tilesetV1.0.json",
26
+ layerIdOrder: "place-isolated",
27
+ layerId3d: "edificisMapboxLayer",
28
+ terrainSource: "ICGC5M",
29
+ style3dName: "orto3d",
30
+ },
31
+ baseStyles: {
32
+ 0: {
33
+ key: "TOPO",
34
+ url: "https://geoserveis.icgc.cat/contextmaps/icgc_mapa_estandard_general.json",
35
+ image: "https://visors.icgc.cat/contextmaps/imatges_estil/icgc_mapa_estandard.png",
36
+ },
37
+ 1: {
38
+ key: "ORTO",
39
+ url: "https://geoserveis.icgc.cat/contextmaps/icgc_orto_estandard.json",
40
+ image: "https://visors.icgc.cat/contextmaps/imatges_estil/icgc_orto_hibrida.png",
41
+ },
42
+ 2: {
43
+ key: "ORTO3D",
44
+ url: "https://tilemaps.icgc.cat/cdn/styles/icgc_orto_3d.json",
45
+ image: "https://visors.icgc.cat/contextmaps/imatges_estil/icgc_orto_hibrida.png",
46
+ },
47
+ 3: {
48
+ key: "ADMIN",
49
+ url: "https://geoserveis.icgc.cat/contextmaps/icgc_delimitacio_limits_administratius.json",
50
+ image: "https://visors.icgc.cat/contextmaps/imatges_estil/icgc_delimitacio_limits_administratius.png",
51
+ },
52
+ 4: {
53
+ key: "DARK",
54
+ url: "https://geoserveis.icgc.cat/contextmaps/icgc_mapa_base_fosc.json",
55
+ image: "https://visors.icgc.cat/contextmaps/imatges_estil/icgc_mapa_base_fosc.png",
56
+ },
57
+ 5: {
58
+ key: "LIGHT",
59
+ url: "https://geoserveis.icgc.cat/contextmaps/icgc_mapa_base_gris.json",
60
+ image: "https://visors.icgc.cat/contextmaps/imatges_estil/icgc_mapa_base_gris.png",
61
+ },
62
+ 6: {
63
+ key: "GEOLOGY",
64
+ url: "https://geoserveis.icgc.cat/contextmaps/icgc_geologic_informacio.json",
65
+ image: "https://visors.icgc.cat/contextmaps/imatges_estil/icgc_geologic_informacio.png",
66
+ },
67
+ },
68
+ urlTerrainICGC: {
69
+ 0: {
70
+ name: "ICGC5M",
71
+ url: "https://tilemaps.icgc.cat/tileserver/tileserver/terreny-5m-30m-rgb-extent/{z}/{x}/{y}.png",
72
+ },
73
+ 1: {
74
+ name: "WORLD30M",
75
+ url: "https://s3.amazonaws.com/elevation-tiles-prod/terrarium/{z}/{x}/{y}.png",
76
+ encoding: "terrarium",
77
+ },
78
+ },
79
+ ortoLayersICGC: {
80
+ 0: {
81
+ name: "ortofotoColorProvisional",
82
+ key: "ortofoto_color_provisional",
83
+ url: "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",
84
+ },
85
+ 1: {
86
+ name: "ortofotoColor2022",
87
+ key: "ortofoto_color_2022",
88
+ url: "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",
89
+ },
90
+ 2: {
91
+ name: "ortofotoColor2021",
92
+ key: "ortofoto_color_2021",
93
+ url: "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",
94
+ },
95
+ 3: {
96
+ name: "ortofotoColor2020",
97
+ key: "ortofoto_color_2020",
98
+ url: "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",
99
+ },
100
+ 4: {
101
+ name: "ortofotoColor2019",
102
+ key: "ortofoto_color_2019",
103
+ url: "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",
104
+ },
105
+ 5: {
106
+ name: "ortofotoColor2018",
107
+ key: "ortofoto_color_2018",
108
+ url: "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",
109
+ },
110
+ 6: {
111
+ name: "ortofotoColor2017",
112
+ key: "ortofoto_color_2017",
113
+ url: "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",
114
+ },
115
+ 7: {
116
+ name: "ortofotoColor2016",
117
+ key: "ortofoto_color_2016",
118
+ url: "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",
119
+ },
120
+ 8: {
121
+ name: "ortofotoColor2015",
122
+ key: "ortofoto_color_2015",
123
+ url: "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",
124
+ },
125
+ 9: {
126
+ name: "ortofotoColor2014",
127
+ key: "ortofoto_color_2014",
128
+ url: "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",
129
+ },
130
+ 10: {
131
+ name: "ortofotoColor2013",
132
+ key: "ortofoto_color_2013",
133
+ url: "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",
134
+ },
135
+ 11: {
136
+ name: "ortofotoColor2012",
137
+ key: "ortofoto_color_2012",
138
+ url: "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",
139
+ },
140
+ 12: {
141
+ name: "ortofotoColor2011",
142
+ key: "ortofoto_color_2011",
143
+ url: "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",
144
+ },
145
+ 13: {
146
+ name: "ortofotoColor2010",
147
+ key: "ortofoto_color_2010",
148
+ url: "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",
149
+ },
150
+ 14: {
151
+ name: "ortofotoColor2009",
152
+ key: "ortofoto_color_2009",
153
+ url: "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",
154
+ },
155
+ 15: {
156
+ name: "ortofotoColor2008",
157
+ key: "ortofoto_color_2008",
158
+ url: "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",
159
+ },
160
+ 16: {
161
+ name: "ortofotoColor20062007",
162
+ key: "ortofoto_color_2006-2007",
163
+ url: "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",
164
+ },
165
+ 17: {
166
+ name: "ortofotoColor20042005",
167
+ key: "ortofoto_color_2004-2005",
168
+ url: "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",
169
+ },
170
+ 18: {
171
+ name: "ortofotoColor20002003",
172
+ key: "ortofoto_color_2000-2003",
173
+ url: "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",
174
+ },
175
+ 19: {
176
+ name: "ortofotoBlancINegre1998",
177
+ key: "ortofoto_blanc_i_negre_1998",
178
+ url: "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",
179
+ },
180
+ 20: {
181
+ name: "ortofotoBlancINegre19941997",
182
+ key: "ortofoto_blanc_i_negre_1994-1997",
183
+ url: "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",
184
+ },
185
+ 21: {
186
+ name: "ortofotoColor1993",
187
+ key: "ortofoto_color_1993",
188
+ url: "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",
189
+ },
190
+ 22: {
191
+ name: "ortofotoBlancINegre19831992",
192
+ key: "ortofoto_blanc_i_negre_1983-1992",
193
+ url: "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",
194
+ },
195
+ 23: {
196
+ name: "ortofotoBlancINegre19701977",
197
+ key: "ortofoto_blanc_i_negre_1970-1977",
198
+ url: "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",
199
+ },
200
+ 24: {
201
+ name: "ortofotoBlancINegre1956",
202
+ key: "ortofoto_blanc_i_negre_1956",
203
+ url: "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",
204
+ },
205
+ 25: {
206
+ name: "ortofotoBlancINegre1945",
207
+ key: "ortofoto_blanc_i_negre_1945",
208
+ url: "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",
209
+ },
210
+ 26: {
211
+ name: "ortofotoColorSerieAnual",
212
+ key: "ortofoto_color_serie_anual",
213
+ url: "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",
214
+ },
215
+ 27: {
216
+ name: "ortofotoInfraroigProvisional",
217
+ key: "ortofoto_infraroig_provisional",
218
+ url: "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",
219
+ },
220
+ 28: {
221
+ name: "ortofotoInfraroig2022",
222
+ key: "ortofoto_infraroig_2022",
223
+ url: "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",
224
+ },
225
+ 29: {
226
+ name: "ortofotoInfraroig2021",
227
+ key: "ortofoto_infraroig_2021",
228
+ url: "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",
229
+ },
230
+ 30: {
231
+ name: "ortofotoInfraroig2020",
232
+ key: "ortofoto_infraroig_2020",
233
+ url: "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",
234
+ },
235
+ 31: {
236
+ name: "ortofotoInfraroig2019",
237
+ key: "ortofoto_infraroig_2019",
238
+ url: "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",
239
+ },
240
+ 32: {
241
+ name: "ortofotoInfraroig2018",
242
+ key: "ortofoto_infraroig_2018",
243
+ url: "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",
244
+ },
245
+ 33: {
246
+ name: "ortofotoInfraroig2017",
247
+ key: "ortofoto_infraroig_2017",
248
+ url: "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",
249
+ },
250
+ 34: {
251
+ name: "ortofotoInfraroig2016",
252
+ key: "ortofoto_infraroig_2016",
253
+ url: "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",
254
+ },
255
+ 35: {
256
+ name: "ortofotoInfraroig2015",
257
+ key: "ortofoto_infraroig_2015",
258
+ url: "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",
259
+ },
260
+ 36: {
261
+ name: "ortofotoInfraroig2014",
262
+ key: "ortofoto_infraroig_2014",
263
+ url: "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",
264
+ },
265
+ 37: {
266
+ name: "ortofotoInfraroig2013",
267
+ key: "ortofoto_infraroig_2013",
268
+ url: "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",
269
+ },
270
+ 38: {
271
+ name: "ortofotoInfraroig2012",
272
+ key: "ortofoto_infraroig_2012",
273
+ url: "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",
274
+ },
275
+ 39: {
276
+ name: "ortofotoInfraroig2011",
277
+ key: "ortofoto_infraroig_2011",
278
+ url: "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",
279
+ },
280
+ 40: {
281
+ name: "ortofotoInfraroig2010",
282
+ key: "ortofoto_infraroig_2010",
283
+ url: "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",
284
+ },
285
+ 41: {
286
+ name: "ortofotoInfraroig2009",
287
+ key: "ortofoto_infraroig_2009",
288
+ url: "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",
289
+ },
290
+ 42: {
291
+ name: "ortofotoInfraroig2008",
292
+ key: "ortofoto_infraroig_2008",
293
+ url: "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",
294
+ },
295
+ 43: {
296
+ name: "ortofotoInfraroig20062007",
297
+ key: "ortofoto_infraroig_2006-2007",
298
+ url: "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",
299
+ },
300
+ 44: {
301
+ name: "ortofotoInfraroig19961997",
302
+ key: "ortofoto_infraroig_1996-1997",
303
+ url: "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",
304
+ },
305
+ 45: {
306
+ name: "ortofotoInfraroigSerieAnual",
307
+ key: "ortofoto_infraroig_serie_anual",
308
+ url: "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",
309
+ },
310
+ },
311
+ vectorLayersICGC: {
312
+ 0: {
313
+ name: "agrupacionsCensals2015",
314
+ key: "agrupacions_censals_2015",
315
+ url: "https://tilemaps.icgc.cat/vector/fgb/agrupacions_censals_2015.fgb",
316
+ },
317
+ 1: {
318
+ name: "agrupacionsCensals2016",
319
+ key: "agrupacions_censals_2016",
320
+ url: "https://tilemaps.icgc.cat/vector/fgb/agrupacions_censals_2016.fgb",
321
+ },
322
+ 2: {
323
+ name: "agrupacionsCensals2017",
324
+ key: "agrupacions_censals_2017",
325
+ url: "https://tilemaps.icgc.cat/vector/fgb/agrupacions_censals_2017.fgb",
326
+ },
327
+ 3: {
328
+ name: "agrupacionsCensals2018",
329
+ key: "agrupacions_censals_2018",
330
+ url: "https://tilemaps.icgc.cat/vector/fgb/agrupacions_censals_2018.fgb",
331
+ },
332
+ 4: {
333
+ name: "agrupacionsCensals2019",
334
+ key: "agrupacions_censals_2019",
335
+ url: "https://tilemaps.icgc.cat/vector/fgb/agrupacions_censals_2019.fgb",
336
+ },
337
+ 5: {
338
+ name: "agrupacionsCensals2020",
339
+ key: "agrupacions_censals_2020",
340
+ url: "https://tilemaps.icgc.cat/vector/fgb/agrupacions_censals_2020.fgb",
341
+ },
342
+ 6: {
343
+ name: "agrupacionsCensals2021",
344
+ key: "agrupacions_censals_2021",
345
+ url: "https://tilemaps.icgc.cat/vector/fgb/agrupacions_censals_2021.fgb",
346
+ },
347
+ 7: {
348
+ name: "agrupacionsCensalsVigent",
349
+ key: "agrupacions_censals_vigent",
350
+ url: "https://tilemaps.icgc.cat/vector/fgb/agrupacions_censals_vigent.fgb",
351
+ },
352
+ 8: {
353
+ name: "agrupacionsCensalsVigentText",
354
+ key: "agrupacions_censals_vigent_text",
355
+ url: "https://tilemaps.icgc.cat/vector/fgb/agrupacions_censals_vigent_text.fgb",
356
+ },
357
+ 9: {
358
+ name: "areesBasiquesPolicials2019",
359
+ key: "arees_basiques_policials_2019",
360
+ url: "https://tilemaps.icgc.cat/vector/fgb/arees_basiques_policials_2019.fgb",
361
+ },
362
+ 10: {
363
+ name: "areesBasiquesPolicials2020",
364
+ key: "arees_basiques_policials_2020",
365
+ url: "https://tilemaps.icgc.cat/vector/fgb/arees_basiques_policials_2020.fgb",
366
+ },
367
+ 11: {
368
+ name: "areesBasiquesPolicials2022",
369
+ key: "arees_basiques_policials_2022",
370
+ url: "https://tilemaps.icgc.cat/vector/fgb/arees_basiques_policials_2022.fgb",
371
+ },
372
+ 12: {
373
+ name: "areesBasiquesPolicialsVigent",
374
+ key: "arees_basiques_policials_vigent",
375
+ url: "https://tilemaps.icgc.cat/vector/fgb/arees_basiques_policials_vigent.fgb",
376
+ },
377
+ 13: {
378
+ name: "areesBasiquesPolicialsVigentText",
379
+ key: "arees_basiques_policials_vigent_text",
380
+ url: "https://tilemaps.icgc.cat/vector/fgb/arees_basiques_policials_vigent_text.fgb",
381
+ },
382
+ 14: {
383
+ name: "areesBasiquesSalutVigent",
384
+ key: "arees_basiques_salut_vigent",
385
+ url: "https://tilemaps.icgc.cat/vector/fgb/arees_basiques_salut_vigent.fgb",
386
+ },
387
+ 15: {
388
+ name: "areesBasiquesServeisSocialsVigent",
389
+ key: "arees_basiques_serveis_socials_vigent",
390
+ url: "https://tilemaps.icgc.cat/vector/fgb/arees_basiques_serveis_socials_vigent.fgb",
391
+ },
392
+ 16: {
393
+ name: "areesBasiquesServeisSocialsVigentText",
394
+ key: "arees_basiques_serveis_socials_vigent_text",
395
+ url: "https://tilemaps.icgc.cat/vector/fgb/arees_basiques_serveis_socials_vigent_text.fgb",
396
+ },
397
+ 17: {
398
+ name: "areesGestioAssistencialVigent",
399
+ key: "arees_gestio_assistencial_vigent",
400
+ url: "https://tilemaps.icgc.cat/vector/fgb/arees_gestio_assistencial_vigent.fgb",
401
+ },
402
+ 18: {
403
+ name: "areesHidrogeologiquesAquifersVigent",
404
+ key: "arees_hidrogeologiques_aquifers_vigent",
405
+ url: "https://tilemaps.icgc.cat/vector/fgb/arees_hidrogeologiques_aquifers_vigent.fgb",
406
+ },
407
+ 19: {
408
+ name: "catalunyaVigent",
409
+ key: "catalunya_vigent",
410
+ url: "https://tilemaps.icgc.cat/vector/fgb/catalunya_vigent.fgb",
411
+ },
412
+ 20: {
413
+ name: "catalunyaVigentText",
414
+ key: "catalunya_vigent_text",
415
+ url: "https://tilemaps.icgc.cat/vector/fgb/catalunya_vigent_text.fgb",
416
+ },
417
+ 21: {
418
+ name: "comarques2022",
419
+ key: "comarques_2022",
420
+ url: "https://tilemaps.icgc.cat/vector/fgb/comarques_2022.fgb",
421
+ },
422
+ 22: {
423
+ name: "comarquesVigent",
424
+ key: "comarques_vigent",
425
+ url: "https://tilemaps.icgc.cat/vector/fgb/comarques_vigent.fgb",
426
+ },
427
+ 23: {
428
+ name: "comarquesVigentText",
429
+ key: "comarques_vigent_text",
430
+ url: "https://tilemaps.icgc.cat/vector/fgb/comarques_vigent_text.fgb",
431
+ },
432
+ 24: {
433
+ name: "districtesCensals2002",
434
+ key: "districtes_censals_2002",
435
+ url: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2002.fgb",
436
+ },
437
+ 25: {
438
+ name: "districtesCensals2003",
439
+ key: "districtes_censals_2003",
440
+ url: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2003.fgb",
441
+ },
442
+ 26: {
443
+ name: "districtesCensals2004",
444
+ key: "districtes_censals_2004",
445
+ url: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2004.fgb",
446
+ },
447
+ 27: {
448
+ name: "districtesCensals2005",
449
+ key: "districtes_censals_2005",
450
+ url: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2005.fgb",
451
+ },
452
+ 28: {
453
+ name: "districtesCensals2006",
454
+ key: "districtes_censals_2006",
455
+ url: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2006.fgb",
456
+ },
457
+ 29: {
458
+ name: "districtesCensals2007",
459
+ key: "districtes_censals_2007",
460
+ url: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2007.fgb",
461
+ },
462
+ 30: {
463
+ name: "districtesCensals2008",
464
+ key: "districtes_censals_2008",
465
+ url: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2008.fgb",
466
+ },
467
+ 31: {
468
+ name: "districtesCensals2009",
469
+ key: "districtes_censals_2009",
470
+ url: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2009.fgb",
471
+ },
472
+ 32: {
473
+ name: "districtesCensals2010",
474
+ key: "districtes_censals_2010",
475
+ url: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2010.fgb",
476
+ },
477
+ 33: {
478
+ name: "districtesCensals2011",
479
+ key: "districtes_censals_2011",
480
+ url: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2011.fgb",
481
+ },
482
+ 34: {
483
+ name: "districtesCensals2012",
484
+ key: "districtes_censals_2012",
485
+ url: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2012.fgb",
486
+ },
487
+ 35: {
488
+ name: "districtesCensals2013",
489
+ key: "districtes_censals_2013",
490
+ url: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2013.fgb",
491
+ },
492
+ 36: {
493
+ name: "districtesCensals2014",
494
+ key: "districtes_censals_2014",
495
+ url: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2014.fgb",
496
+ },
497
+ 37: {
498
+ name: "districtesCensals2015",
499
+ key: "districtes_censals_2015",
500
+ url: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2015.fgb",
501
+ },
502
+ 38: {
503
+ name: "districtesCensals2016",
504
+ key: "districtes_censals_2016",
505
+ url: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2016.fgb",
506
+ },
507
+ 39: {
508
+ name: "districtesCensals2017",
509
+ key: "districtes_censals_2017",
510
+ url: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2017.fgb",
511
+ },
512
+ 40: {
513
+ name: "districtesCensals2018",
514
+ key: "districtes_censals_2018",
515
+ url: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2018.fgb",
516
+ },
517
+ 41: {
518
+ name: "districtesCensals2019",
519
+ key: "districtes_censals_2019",
520
+ url: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2019.fgb",
521
+ },
522
+ 42: {
523
+ name: "districtesCensals2020",
524
+ key: "districtes_censals_2020",
525
+ url: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2020.fgb",
526
+ },
527
+ 43: {
528
+ name: "districtesCensals2021",
529
+ key: "districtes_censals_2021",
530
+ url: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2021.fgb",
531
+ },
532
+ 44: {
533
+ name: "districtesCensals2022",
534
+ key: "districtes_censals_2022",
535
+ url: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_2022.fgb",
536
+ },
537
+ 45: {
538
+ name: "districtesCensalsVigent",
539
+ key: "districtes_censals_vigent",
540
+ url: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_vigent.fgb",
541
+ },
542
+ 46: {
543
+ name: "districtesCensalsVigentText",
544
+ key: "districtes_censals_vigent_text",
545
+ url: "https://tilemaps.icgc.cat/vector/fgb/districtes_censals_vigent_text.fgb",
546
+ },
547
+ 47: {
548
+ name: "incendisForestalsVigent",
549
+ key: "incendis_forestals_vigent",
550
+ url: "https://tilemaps.icgc.cat/vector/fgb/incendis_forestals_vigent.fgb",
551
+ },
552
+ 48: {
553
+ name: "incendisForestalsVigentText",
554
+ key: "incendis_forestals_vigent_text",
555
+ url: "https://tilemaps.icgc.cat/vector/fgb/incendis_forestals_vigent_text.fgb",
556
+ },
557
+ 49: {
558
+ name: "municipis2022",
559
+ key: "municipis_2022",
560
+ url: "https://tilemaps.icgc.cat/vector/fgb/municipis_2022.fgb",
561
+ },
562
+ 50: {
563
+ name: "municipis2022Text",
564
+ key: "municipis_2022_text",
565
+ url: "https://tilemaps.icgc.cat/vector/fgb/municipis_2022_text.fgb",
566
+ },
567
+ 51: {
568
+ name: "municipisVigent",
569
+ key: "municipis_vigent",
570
+ url: "https://tilemaps.icgc.cat/vector/fgb/municipis_vigent.fgb",
571
+ },
572
+ 52: {
573
+ name: "municipisVigentText",
574
+ key: "municipis_vigent_text",
575
+ url: "https://tilemaps.icgc.cat/vector/fgb/municipis_vigent_text.fgb",
576
+ },
577
+ 53: {
578
+ name: "partitsJudicialsVigent",
579
+ key: "partits_judicials_vigent",
580
+ url: "https://tilemaps.icgc.cat/vector/fgb/partits_judicials_vigent.fgb",
581
+ },
582
+ 54: {
583
+ name: "partitsJudicialsVigentText",
584
+ key: "partits_judicials_vigent_text",
585
+ url: "https://tilemaps.icgc.cat/vector/fgb/partits_judicials_vigent_text.fgb",
586
+ },
587
+ 55: {
588
+ name: "plaTerritorial2015",
589
+ key: "pla_territorial_2015",
590
+ url: "https://tilemaps.icgc.cat/vector/fgb/pla_territorial_2015.fgb",
591
+ },
592
+ 56: {
593
+ name: "plaTerritorialVigent",
594
+ key: "pla_territorial_vigent",
595
+ url: "https://tilemaps.icgc.cat/vector/fgb/pla_territorial_vigent.fgb",
596
+ },
597
+ 57: {
598
+ name: "plaTerritorialVigentText",
599
+ key: "pla_territorial_vigent_text",
600
+ url: "https://tilemaps.icgc.cat/vector/fgb/pla_territorial_vigent_text.fgb",
601
+ },
602
+ 58: {
603
+ name: "provinciesVigent",
604
+ key: "provincies_vigent",
605
+ url: "https://tilemaps.icgc.cat/vector/fgb/provincies_vigent.fgb",
606
+ },
607
+ 59: {
608
+ name: "provinciesVigentText",
609
+ key: "provincies_vigent_text",
610
+ url: "https://tilemaps.icgc.cat/vector/fgb/provincies_vigent_text.fgb",
611
+ },
612
+ 60: {
613
+ name: "regionsPolicialsVigent",
614
+ key: "regions_policials_vigent",
615
+ url: "https://tilemaps.icgc.cat/vector/fgb/regions_policials_vigent.fgb",
616
+ },
617
+ 61: {
618
+ name: "regionsPolicialsVigentText",
619
+ key: "regions_policials_vigent_text",
620
+ url: "https://tilemaps.icgc.cat/vector/fgb/regions_policials_vigent_text.fgb",
621
+ },
622
+ 62: {
623
+ name: "regionsSanitariesVigent",
624
+ key: "regions_sanitaries_vigent",
625
+ url: "https://tilemaps.icgc.cat/vector/fgb/regions_sanitaries_vigent.fgb",
626
+ },
627
+ 63: {
628
+ name: "regionsSanitariesVigentText",
629
+ key: "regions_sanitaries_vigent_text",
630
+ url: "https://tilemaps.icgc.cat/vector/fgb/regions_sanitaries_vigent_text.fgb",
631
+ },
632
+ 64: {
633
+ name: "seccionsCensals2002",
634
+ key: "seccions_censals_2002",
635
+ url: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2002.fgb",
636
+ },
637
+ 65: {
638
+ name: "seccionsCensals2003",
639
+ key: "seccions_censals_2003",
640
+ url: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2003.fgb",
641
+ },
642
+ 66: {
643
+ name: "seccionsCensals2004",
644
+ key: "seccions_censals_2004",
645
+ url: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2004.fgb",
646
+ },
647
+ 67: {
648
+ name: "seccionsCensals2005",
649
+ key: "seccions_censals_2005",
650
+ url: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2005.fgb",
651
+ },
652
+ 68: {
653
+ name: "seccionsCensals2006",
654
+ key: "seccions_censals_2006",
655
+ url: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2006.fgb",
656
+ },
657
+ 69: {
658
+ name: "seccionsCensals2007",
659
+ key: "seccions_censals_2007",
660
+ url: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2007.fgb",
661
+ },
662
+ 70: {
663
+ name: "seccionsCensals2008",
664
+ key: "seccions_censals_2008",
665
+ url: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2008.fgb",
666
+ },
667
+ 71: {
668
+ name: "seccionsCensals2009",
669
+ key: "seccions_censals_2009",
670
+ url: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2009.fgb",
671
+ },
672
+ 72: {
673
+ name: "seccionsCensals2010",
674
+ key: "seccions_censals_2010",
675
+ url: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2010.fgb",
676
+ },
677
+ 73: {
678
+ name: "seccionsCensals2011",
679
+ key: "seccions_censals_2011",
680
+ url: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2011.fgb",
681
+ },
682
+ 74: {
683
+ name: "seccionsCensals2012",
684
+ key: "seccions_censals_2012",
685
+ url: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2012.fgb",
686
+ },
687
+ 75: {
688
+ name: "seccionsCensals2013",
689
+ key: "seccions_censals_2013",
690
+ url: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2013.fgb",
691
+ },
692
+ 76: {
693
+ name: "seccionsCensals2014",
694
+ key: "seccions_censals_2014",
695
+ url: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2014.fgb",
696
+ },
697
+ 77: {
698
+ name: "seccionsCensals2015",
699
+ key: "seccions_censals_2015",
700
+ url: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2015.fgb",
701
+ },
702
+ 78: {
703
+ name: "seccionsCensals2016",
704
+ key: "seccions_censals_2016",
705
+ url: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2016.fgb",
706
+ },
707
+ 79: {
708
+ name: "seccionsCensals2017",
709
+ key: "seccions_censals_2017",
710
+ url: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2017.fgb",
711
+ },
712
+ 80: {
713
+ name: "seccionsCensals2018",
714
+ key: "seccions_censals_2018",
715
+ url: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2018.fgb",
716
+ },
717
+ 81: {
718
+ name: "seccionsCensals2019",
719
+ key: "seccions_censals_2019",
720
+ url: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2019.fgb",
721
+ },
722
+ 82: {
723
+ name: "seccionsCensals2020",
724
+ key: "seccions_censals_2020",
725
+ url: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2020.fgb",
726
+ },
727
+ 83: {
728
+ name: "seccionsCensals2021",
729
+ key: "seccions_censals_2021",
730
+ url: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2021.fgb",
731
+ },
732
+ 84: {
733
+ name: "seccionsCensals2022",
734
+ key: "seccions_censals_2022",
735
+ url: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_2022.fgb",
736
+ },
737
+ 85: {
738
+ name: "seccionsCensalsVigent",
739
+ key: "seccions_censals_vigent",
740
+ url: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_vigent.fgb",
741
+ },
742
+ 86: {
743
+ name: "seccionsCensalsVigentText",
744
+ key: "seccions_censals_vigent_text",
745
+ url: "https://tilemaps.icgc.cat/vector/fgb/seccions_censals_vigent_text.fgb",
746
+ },
747
+ 87: {
748
+ name: "sectorsSanitarisVigent",
749
+ key: "sectors_sanitaris_vigent",
750
+ url: "https://tilemaps.icgc.cat/vector/fgb/sectors_sanitaris_vigent.fgb",
751
+ },
752
+ 88: {
753
+ name: "vegueriesVigent",
754
+ key: "vegueries_vigent",
755
+ url: "https://tilemaps.icgc.cat/vector/fgb/vegueries_vigent.fgb",
756
+ },
757
+ 89: {
758
+ name: "vegueriesVigentText",
759
+ key: "vegueries_vigent_text",
760
+ url: "https://tilemaps.icgc.cat/vector/fgb/vegueries_vigent_text.fgb",
761
+ },
762
+ },
763
+ vectorLayers: {
764
+ 0: {
765
+ key: "altimetria",
766
+ layer: "",
767
+ url: "https://betaserver.icgc.cat/tileserver3/tileserver.php/alti_bt5m/{z}/{x}/{y}.pbf",
768
+ },
769
+ 1: {
770
+ key: "toponimia",
771
+ layer: "",
772
+ url: "https://betaserver.icgc.cat/tileserver3/tileserver.php/redtopo/{z}/{x}/{y}.pbf",
773
+ },
774
+ },
775
+ wmsLayers: {
776
+ 0: {
777
+ key: "relleu",
778
+ layer: "",
779
+ url: "https://tilemaps.icgc.cat/mapfactory/wmts/relleu/CAT3857/{z}/{x}/{y}.png",
780
+ },
781
+ 1: {
782
+ key: "geologia",
783
+ layer: "",
784
+ url: "https://tilemaps.icgc.cat/mapfactory/wmts/geologia/MON3857NW/{z}/{x}/{y}.png",
785
+ },
786
+ 2: {
787
+ key: "administratiu",
788
+ layer: "",
789
+ url: "http://geoserveis.icgc.cat/servei/catalunya/mapa-base/wmts/administratiu/MON3857NW/{z}/{x}/{y}.png",
790
+ },
791
+ 3: {
792
+ key: "simplificat",
793
+ layer: "",
794
+ url: "http://geoserveis.icgc.cat/servei/catalunya/mapa-base/wmts/simplificat/MON3857NW/{z}/{x}/{y}.png",
795
+ },
796
+ 4: {
797
+ key: "cims",
798
+ layer: "",
799
+ url: "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",
800
+ },
801
+ 5: {
802
+ key: "cobertesSol",
803
+ layer: "",
804
+ url: "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",
805
+ },
806
+ },
807
+ };
808
+
809
+ export default defaultOptions;