@nextgis/ngw-leaflet 1.18.6 → 1.18.9

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.
@@ -1,4 +1,4 @@
1
- /** Bundle of @nextgis/ngw-leaflet; version: 1.18.6; author: NextGIS */
1
+ /** Bundle of @nextgis/ngw-leaflet; version: 1.18.9; author: NextGIS */
2
2
  function styleInject(css, ref) {
3
3
  if ( ref === void 0 ) ref = {};
4
4
  var insertAt = ref.insertAt;
@@ -19459,8 +19459,11 @@ function createGeoJsonFeature(item) {
19459
19459
  }
19460
19460
  function updateItemRequestParam(params, options) {
19461
19461
  const { extensions, geom, fields, srs, ilike, like } = options;
19462
- if (extensions) {
19463
- params.extensions = extensions.join(',');
19462
+ // Empty extesions by default
19463
+ let extensionsStr = extensions ? extensions.join(',') : '';
19464
+ // Use character * to set all extensions
19465
+ if (extensionsStr !== '*') {
19466
+ params.extensions = extensionsStr;
19464
19467
  }
19465
19468
  if (fields !== undefined) {
19466
19469
  params.fields = Array.isArray(fields) ? fields.join(',') : '';