@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.
- package/lib/ngw-map.cjs.js +1 -1
- package/lib/ngw-map.esm-browser.js +6 -3
- package/lib/ngw-map.esm-browser.js.map +1 -1
- package/lib/ngw-map.esm-browser.prod.js +1 -1
- package/lib/ngw-map.esm-browser.prod.js.map +1 -1
- package/lib/ngw-map.esm-bundler.js +1 -1
- package/lib/ngw-map.global.js +6 -3
- package/lib/ngw-map.global.js.map +1 -1
- package/lib/ngw-map.global.prod.js +1 -1
- package/lib/ngw-map.global.prod.js.map +1 -1
- package/package.json +3 -3
package/lib/ngw-map.cjs.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** Bundle of @nextgis/ngw-map; version: 1.18.
|
|
1
|
+
/** Bundle of @nextgis/ngw-map; version: 1.18.9; author: NextGIS */
|
|
2
2
|
var events = {exports: {}};
|
|
3
3
|
|
|
4
4
|
var R = typeof Reflect === 'object' ? Reflect : null;
|
|
@@ -5433,8 +5433,11 @@ function createGeoJsonFeature(item) {
|
|
|
5433
5433
|
}
|
|
5434
5434
|
function updateItemRequestParam(params, options) {
|
|
5435
5435
|
const { extensions, geom, fields, srs, ilike, like } = options;
|
|
5436
|
-
|
|
5437
|
-
|
|
5436
|
+
// Empty extesions by default
|
|
5437
|
+
let extensionsStr = extensions ? extensions.join(',') : '';
|
|
5438
|
+
// Use character * to set all extensions
|
|
5439
|
+
if (extensionsStr !== '*') {
|
|
5440
|
+
params.extensions = extensionsStr;
|
|
5438
5441
|
}
|
|
5439
5442
|
if (fields !== undefined) {
|
|
5440
5443
|
params.fields = Array.isArray(fields) ? fields.join(',') : '';
|