@geogirafe/lib-geoportal 1.1.0-dev.2563862728 → 1.1.0-dev.2563874711
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/assets/i18n/de.json
CHANGED
|
@@ -496,6 +496,7 @@
|
|
|
496
496
|
"Warning: Private Layers are active": "Warnung: Private Layer sind aktiv",
|
|
497
497
|
"Warning: This document may contain sensitive data.": "Warnung: Dieses Dokument kann sensible Daten enthalten.",
|
|
498
498
|
"Web Mercator projection distorts distances and areas": "Die Web Mercator Projektion verzerrt Distanz- und Flächenangaben",
|
|
499
|
+
"wfs-max-features-reached": "Maximale Anzahl an Objekten erreicht, bitte wählen Sie einen kleineren Bereich oder deaktivieren Sie Themen.",
|
|
499
500
|
"Why are you contacting us?": "Warum kontaktieren Sie uns?",
|
|
500
501
|
"window": "Fenster",
|
|
501
502
|
"wms_wmts": "WMS/WMTS",
|
package/assets/i18n/en.json
CHANGED
|
@@ -16,7 +16,6 @@
|
|
|
16
16
|
"add_group": "Add a layergroup",
|
|
17
17
|
"add_layer": "Add a layer",
|
|
18
18
|
"add_theme": "Add a theme",
|
|
19
|
-
|
|
20
19
|
"Advanced filter": "Advanced filter",
|
|
21
20
|
"advanced-filter-panel": "Advanced Filter",
|
|
22
21
|
"after": "after",
|
|
@@ -499,6 +498,7 @@
|
|
|
499
498
|
"Warning: Private Layers are active": "Warning: Private Layers are active",
|
|
500
499
|
"Warning: This document may contain sensitive data.": "Warning: This document may contain sensitive data.",
|
|
501
500
|
"Web Mercator projection distorts distances and areas": "Web Mercator projection distorts distances and areas",
|
|
501
|
+
"wfs-max-features-reached": "Maximum number of features reached, consider selecting a smaller area or disable themes.",
|
|
502
502
|
"Why are you contacting us?": "Why are you contacting us?",
|
|
503
503
|
"window": "Window",
|
|
504
504
|
"wms_wmts": "WMS/WMTS",
|
package/assets/i18n/fr.json
CHANGED
|
@@ -496,6 +496,7 @@
|
|
|
496
496
|
"Warning: Private Layers are active": "Attention : Des couches privées sont actives",
|
|
497
497
|
"Warning: This document may contain sensitive data.": "Attention : Ce document peut contenir des données sensibles.",
|
|
498
498
|
"Web Mercator projection distorts distances and areas": "La projection de Mercator déforme les distances et les surfaces",
|
|
499
|
+
"wfs-max-features-reached": "Nombre maximal d'entités atteint, veuillez sélectionner une zone plus petite ou désactiver des thèmes.",
|
|
499
500
|
"Why are you contacting us?": "Pourquoi nous contactez-vous ?",
|
|
500
501
|
"window": "Fenêtre",
|
|
501
502
|
"wms_wmts": "WMS/WMTS",
|
package/assets/i18n/it.json
CHANGED
|
@@ -496,6 +496,7 @@
|
|
|
496
496
|
"Warning: Private Layers are active": "Attenzione: I layer privati sono attivi",
|
|
497
497
|
"Warning: This document may contain sensitive data.": "Attenzione: Questo documento potrebbe contenere dati sensibili.",
|
|
498
498
|
"Web Mercator projection distorts distances and areas": "La proiezione Web Mercator distorce le distanze e le aree",
|
|
499
|
+
"wfs-max-features-reached": "Raggiunto il numero massimo di elementi, si prega di selezionare un'area più piccola o disabilitare i temi.",
|
|
499
500
|
"Why are you contacting us?": "Perché ci stai contattando?",
|
|
500
501
|
"window": "Finestre",
|
|
501
502
|
"wms_wmts": "WMS/WMTS",
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"1.1.0-dev.
|
|
1
|
+
{"version":"1.1.0-dev.2563874711", "build":"2563874711", "date":"30/05/2026"}
|
package/tools/wfs/wfsclient.js
CHANGED
|
@@ -166,7 +166,11 @@ export default class WfsClient {
|
|
|
166
166
|
// Create a request for each getFeatureOptions object
|
|
167
167
|
const getFeatureRequests = getFeatureOptions.map(async (options) => this.getFeatureRaw(options));
|
|
168
168
|
const getFeatureResponses = await Promise.all(getFeatureRequests);
|
|
169
|
-
|
|
169
|
+
const flattenedResponses = getFeatureResponses.flat();
|
|
170
|
+
if (flattenedResponses.length == this.maxFeatures) {
|
|
171
|
+
this.context.errorManager.pushMessage('wfs-max-features-reached', 'wfs-max-features-reached', 'warning');
|
|
172
|
+
}
|
|
173
|
+
return flattenedResponses;
|
|
170
174
|
}
|
|
171
175
|
/**
|
|
172
176
|
* Transforms a `SelectionParam` object, originating from a map selection,
|
|
@@ -183,11 +187,9 @@ export default class WfsClient {
|
|
|
183
187
|
if (queryableLayers.length <= 0) {
|
|
184
188
|
return null;
|
|
185
189
|
}
|
|
186
|
-
const featureTypes = queryableLayers
|
|
187
|
-
.map((l) => l.queryLayers
|
|
190
|
+
const featureTypes = queryableLayers.flatMap((l) => l.queryLayers
|
|
188
191
|
.split(',')
|
|
189
|
-
.filter((el) => LayerWms.isInVisibleRange(currentResolution, l.queryLayersRanges[el]?.minResolution, l.queryLayersRanges[el]?.maxResolution)))
|
|
190
|
-
.flat(1);
|
|
192
|
+
.filter((el) => LayerWms.isInVisibleRange(currentResolution, l.queryLayersRanges[el]?.minResolution, l.queryLayersRanges[el]?.maxResolution)));
|
|
191
193
|
// Attribute filter based on URL parameters in permalink
|
|
192
194
|
const featureSelectionFilter = selectionParam.selectionQuery?.toOpenLayersFilter();
|
|
193
195
|
// Layer tree attribute filter
|