@nextgis/ngw-map 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-map; version: 1.18.6; author: NextGIS */
1
+ /** Bundle of @nextgis/ngw-map; version: 1.18.9; author: NextGIS */
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1,4 +1,4 @@
1
- /** Bundle of @nextgis/ngw-map; version: 1.18.6; author: NextGIS */
1
+ /** Bundle of @nextgis/ngw-map; version: 1.18.9; author: NextGIS */
2
2
  var events = {exports: {}};
3
3
 
4
4
  var R = typeof Reflect === 'object' ? Reflect : null;
@@ -5433,8 +5433,11 @@ function createGeoJsonFeature(item) {
5433
5433
  }
5434
5434
  function updateItemRequestParam(params, options) {
5435
5435
  const { extensions, geom, fields, srs, ilike, like } = options;
5436
- if (extensions) {
5437
- params.extensions = extensions.join(',');
5436
+ // Empty extesions by default
5437
+ let extensionsStr = extensions ? extensions.join(',') : '';
5438
+ // Use character * to set all extensions
5439
+ if (extensionsStr !== '*') {
5440
+ params.extensions = extensionsStr;
5438
5441
  }
5439
5442
  if (fields !== undefined) {
5440
5443
  params.fields = Array.isArray(fields) ? fields.join(',') : '';