@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
  import 'leaflet/dist/leaflet.css';
3
3
  import { Icon } from 'leaflet';
4
4
  import { NgwMap } from '@nextgis/ngw-map';
@@ -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
  var NgwLeaflet = (function () {
3
3
  'use strict';
4
4
 
@@ -20053,8 +20053,11 @@ var NgwLeaflet = (function () {
20053
20053
  }
20054
20054
  function updateItemRequestParam(params, options) {
20055
20055
  var extensions = options.extensions, geom = options.geom, fields = options.fields, srs = options.srs, ilike = options.ilike, like = options.like;
20056
- if (extensions) {
20057
- params.extensions = extensions.join(',');
20056
+ // Empty extesions by default
20057
+ var extensionsStr = extensions ? extensions.join(',') : '';
20058
+ // Use character * to set all extensions
20059
+ if (extensionsStr !== '*') {
20060
+ params.extensions = extensionsStr;
20058
20061
  }
20059
20062
  if (fields !== undefined) {
20060
20063
  params.fields = Array.isArray(fields) ? fields.join(',') : '';