@nextgis/ngw-leaflet 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-leaflet; version: 1.18.2; author: NextGIS */
1
+ /** Bundle of @nextgis/ngw-leaflet; version: 1.18.3; author: NextGIS */
2
2
  function styleInject(css, ref) {
3
3
  if ( ref === void 0 ) ref = {};
4
4
  var insertAt = ref.insertAt;
@@ -19457,8 +19457,10 @@ function createGeoJsonFeature(item) {
19457
19457
  return feature;
19458
19458
  }
19459
19459
  function updateItemRequestParam(params, options) {
19460
- const { extensions, geom, fields, srs } = options;
19461
- params.extensions = extensions ? extensions.join(',') : '';
19460
+ const { extensions, geom, fields, srs, ilike, like } = options;
19461
+ if (extensions) {
19462
+ params.extensions = extensions.join(',');
19463
+ }
19462
19464
  if (fields !== undefined) {
19463
19465
  params.fields = Array.isArray(fields) ? fields.join(',') : '';
19464
19466
  }
@@ -19469,6 +19471,12 @@ function updateItemRequestParam(params, options) {
19469
19471
  delete params.geom_format;
19470
19472
  }
19471
19473
  }
19474
+ if (defined(ilike)) {
19475
+ params.ilike = ilike;
19476
+ }
19477
+ else if (defined(like)) {
19478
+ params.like = like;
19479
+ }
19472
19480
  if (defined(srs)) {
19473
19481
  params.srs = srs;
19474
19482
  }