@nextgis/ngw-map 1.16.2 → 1.16.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.
- package/lib/ngw-map.cjs.js +1 -1
- package/lib/ngw-map.esm-browser.js +3 -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 +3 -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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** Bundle of @nextgis/ngw-map; version: 1.16.
|
|
1
|
+
/** Bundle of @nextgis/ngw-map; version: 1.16.3; author: NextGIS */
|
|
2
2
|
import { EventEmitter } from 'events';
|
|
3
3
|
import CancelablePromise from '@nextgis/cancelable-promise';
|
|
4
4
|
import { deepmerge, isObject, defined, deprecatedWarn, getIdentifyRadius } from '@nextgis/utils';
|
package/lib/ngw-map.global.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** Bundle of @nextgis/ngw-map; version: 1.16.
|
|
1
|
+
/** Bundle of @nextgis/ngw-map; version: 1.16.3; author: NextGIS */
|
|
2
2
|
var NgwMap = (function (exports) {
|
|
3
3
|
'use strict';
|
|
4
4
|
|
|
@@ -7652,6 +7652,7 @@ var NgwMap = (function (exports) {
|
|
|
7652
7652
|
'basemap_layer',
|
|
7653
7653
|
'vector_layer',
|
|
7654
7654
|
'raster_layer',
|
|
7655
|
+
'postgis_layer',
|
|
7655
7656
|
'webmap',
|
|
7656
7657
|
// in tms branch
|
|
7657
7658
|
'tmsclient_layer',
|
|
@@ -7669,7 +7670,6 @@ var NgwMap = (function (exports) {
|
|
|
7669
7670
|
childrenStyles = _b.sent();
|
|
7670
7671
|
firstStyle = childrenStyles && childrenStyles[0];
|
|
7671
7672
|
if (firstStyle) {
|
|
7672
|
-
// eslint-disable-next-line @typescript-eslint/no-use-before-define
|
|
7673
7673
|
return [2 /*return*/, createAsyncAdapter(__assign(__assign({}, layerOptions), { resource: firstStyle.resource.id }), webMap, connector)];
|
|
7674
7674
|
}
|
|
7675
7675
|
return [2 /*return*/];
|
|
@@ -7714,7 +7714,7 @@ var NgwMap = (function (exports) {
|
|
|
7714
7714
|
adapter = createWebMapAdapter(adapterOptions);
|
|
7715
7715
|
return [3 /*break*/, 11];
|
|
7716
7716
|
case 5:
|
|
7717
|
-
if (!(cls === 'vector_layer')) return [3 /*break*/, 6];
|
|
7717
|
+
if (!(cls === 'vector_layer' || cls === 'postgis_layer')) return [3 /*break*/, 6];
|
|
7718
7718
|
type = item.vector_layer &&
|
|
7719
7719
|
vectorLayerGeomToPaintTypeAlias[item.vector_layer.geometry_type];
|
|
7720
7720
|
adapterOptions_ = adapterOptions.layerOptions.adapterOptions || {};
|