@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
  '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.2; author: NextGIS */
1
+ /** Bundle of @nextgis/ngw-map; version: 1.18.3; author: NextGIS */
2
2
  var events = {exports: {}};
3
3
 
4
4
  var R = typeof Reflect === 'object' ? Reflect : null;
@@ -5431,8 +5431,10 @@ function createGeoJsonFeature(item) {
5431
5431
  return feature;
5432
5432
  }
5433
5433
  function updateItemRequestParam(params, options) {
5434
- const { extensions, geom, fields, srs } = options;
5435
- params.extensions = extensions ? extensions.join(',') : '';
5434
+ const { extensions, geom, fields, srs, ilike, like } = options;
5435
+ if (extensions) {
5436
+ params.extensions = extensions.join(',');
5437
+ }
5436
5438
  if (fields !== undefined) {
5437
5439
  params.fields = Array.isArray(fields) ? fields.join(',') : '';
5438
5440
  }
@@ -5443,6 +5445,12 @@ function updateItemRequestParam(params, options) {
5443
5445
  delete params.geom_format;
5444
5446
  }
5445
5447
  }
5448
+ if (defined(ilike)) {
5449
+ params.ilike = ilike;
5450
+ }
5451
+ else if (defined(like)) {
5452
+ params.like = like;
5453
+ }
5446
5454
  if (defined(srs)) {
5447
5455
  params.srs = srs;
5448
5456
  }