@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
  import 'leaflet/dist/leaflet.css';
3
3
  import { Icon } from 'leaflet';
4
4
  import { NgwMap } from '@nextgis/ngw-map';
@@ -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
  var NgwLeaflet = (function () {
3
3
  'use strict';
4
4
 
@@ -20051,8 +20051,10 @@ var NgwLeaflet = (function () {
20051
20051
  return feature;
20052
20052
  }
20053
20053
  function updateItemRequestParam(params, options) {
20054
- var extensions = options.extensions, geom = options.geom, fields = options.fields, srs = options.srs;
20055
- params.extensions = extensions ? extensions.join(',') : '';
20054
+ var extensions = options.extensions, geom = options.geom, fields = options.fields, srs = options.srs, ilike = options.ilike, like = options.like;
20055
+ if (extensions) {
20056
+ params.extensions = extensions.join(',');
20057
+ }
20056
20058
  if (fields !== undefined) {
20057
20059
  params.fields = Array.isArray(fields) ? fields.join(',') : '';
20058
20060
  }
@@ -20063,6 +20065,12 @@ var NgwLeaflet = (function () {
20063
20065
  delete params.geom_format;
20064
20066
  }
20065
20067
  }
20068
+ if (defined(ilike)) {
20069
+ params.ilike = ilike;
20070
+ }
20071
+ else if (defined(like)) {
20072
+ params.like = like;
20073
+ }
20066
20074
  if (defined(srs)) {
20067
20075
  params.srs = srs;
20068
20076
  }