@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
  import { EventEmitter } from 'events';
3
3
  import CancelablePromise from '@nextgis/cancelable-promise';
4
4
  import { deepmerge, deprecatedWarn, defined, isObject, getIdentifyRadius } from '@nextgis/utils';
@@ -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 NgwMap = (function (exports) {
3
3
  'use strict';
4
4
 
@@ -5991,8 +5991,11 @@ var NgwMap = (function (exports) {
5991
5991
  }
5992
5992
  function updateItemRequestParam(params, options) {
5993
5993
  var extensions = options.extensions, geom = options.geom, fields = options.fields, srs = options.srs, ilike = options.ilike, like = options.like;
5994
- if (extensions) {
5995
- params.extensions = extensions.join(',');
5994
+ // Empty extesions by default
5995
+ var extensionsStr = extensions ? extensions.join(',') : '';
5996
+ // Use character * to set all extensions
5997
+ if (extensionsStr !== '*') {
5998
+ params.extensions = extensionsStr;
5996
5999
  }
5997
6000
  if (fields !== undefined) {
5998
6001
  params.fields = Array.isArray(fields) ? fields.join(',') : '';