@nextgis/ngw-map 1.18.2 → 1.18.3

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.2; author: NextGIS */
1
+ /** Bundle of @nextgis/ngw-map; version: 1.18.3; 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.2; author: NextGIS */
1
+ /** Bundle of @nextgis/ngw-map; version: 1.18.3; author: NextGIS */
2
2
  var NgwMap = (function (exports) {
3
3
  'use strict';
4
4
 
@@ -5989,8 +5989,10 @@ var NgwMap = (function (exports) {
5989
5989
  return feature;
5990
5990
  }
5991
5991
  function updateItemRequestParam(params, options) {
5992
- var extensions = options.extensions, geom = options.geom, fields = options.fields, srs = options.srs;
5993
- params.extensions = extensions ? extensions.join(',') : '';
5992
+ var extensions = options.extensions, geom = options.geom, fields = options.fields, srs = options.srs, ilike = options.ilike, like = options.like;
5993
+ if (extensions) {
5994
+ params.extensions = extensions.join(',');
5995
+ }
5994
5996
  if (fields !== undefined) {
5995
5997
  params.fields = Array.isArray(fields) ? fields.join(',') : '';
5996
5998
  }
@@ -6001,6 +6003,12 @@ var NgwMap = (function (exports) {
6001
6003
  delete params.geom_format;
6002
6004
  }
6003
6005
  }
6006
+ if (defined(ilike)) {
6007
+ params.ilike = ilike;
6008
+ }
6009
+ else if (defined(like)) {
6010
+ params.like = like;
6011
+ }
6004
6012
  if (defined(srs)) {
6005
6013
  params.srs = srs;
6006
6014
  }