@evergis/api 3.0.213 → 3.0.215
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/dist/Api.d.ts +3 -5
- package/dist/__generated__/AccountService.d.ts +2 -2
- package/dist/__generated__/DataSourceService.d.ts +68 -2
- package/dist/__generated__/EqlService.d.ts +12 -1
- package/dist/__generated__/LayersService.d.ts +2 -2
- package/dist/__generated__/RemoteTaskManagerService.d.ts +262 -0
- package/dist/__generated__/StatisticService.d.ts +2 -2
- package/dist/__generated__/TablesService.d.ts +2 -2
- package/dist/__generated__/WmsServerService.d.ts +2 -2
- package/dist/__generated__/data-contracts.d.ts +528 -459
- package/dist/api.cjs.development.js +576 -857
- package/dist/api.cjs.development.js.map +1 -1
- package/dist/api.cjs.production.min.js +1 -1
- package/dist/api.cjs.production.min.js.map +1 -1
- package/dist/api.esm.js +639 -890
- package/dist/api.esm.js.map +1 -1
- package/dist/index.d.ts +0 -3
- package/dist/services/RemoteTaskManager.d.ts +3 -0
- package/dist/services/Statistic.d.ts +4 -2
- package/dist/services/index.d.ts +1 -1
- package/dist/utils/errorHandler.d.ts +1 -1
- package/dist/utils/index.d.ts +0 -1
- package/package.json +2 -2
- package/dist/SpatialProcessor.d.ts +0 -30
- package/dist/__generated__/SchedulerService.d.ts +0 -207
- package/dist/layers/EvergisDynamicLayer.d.ts +0 -28
- package/dist/layers/EvergisTileLayer.d.ts +0 -18
- package/dist/layers/LayersManager.d.ts +0 -11
- package/dist/layers/index.d.ts +0 -3
- package/dist/services/Scheduler.d.ts +0 -20
- package/dist/types/EvergisLayer.d.ts +0 -6
- package/dist/types/index.d.ts +0 -1
- package/dist/utils/guards.d.ts +0 -6
|
@@ -10,12 +10,6 @@ var ky__default = _interopDefault(ky);
|
|
|
10
10
|
var signalr = require('@microsoft/signalr');
|
|
11
11
|
var queryString = require('query-string');
|
|
12
12
|
var nanoid = require('nanoid');
|
|
13
|
-
var DomPainter = require('@evergis/sgis/es/painters/DomPainter/DomPainter');
|
|
14
|
-
var _Map = require('@evergis/sgis/es/Map');
|
|
15
|
-
var TileLayer = require('@evergis/sgis/es/layers/TileLayer');
|
|
16
|
-
var Crs = require('@evergis/sgis/es/Crs');
|
|
17
|
-
var DynamicLayer = require('@evergis/sgis/es/layers/DynamicLayer');
|
|
18
|
-
var sgis = require('@evergis/sgis');
|
|
19
13
|
|
|
20
14
|
function _classCallCheck(instance, Constructor) {
|
|
21
15
|
if (!(instance instanceof Constructor)) {
|
|
@@ -189,7 +183,7 @@ function _get() {
|
|
|
189
183
|
return _get.apply(this, arguments);
|
|
190
184
|
}
|
|
191
185
|
|
|
192
|
-
const API_USER_INFO_KEY =
|
|
186
|
+
const API_USER_INFO_KEY = "@evergis/user-info";
|
|
193
187
|
const STORAGE_TOKEN_KEY = "evergis-jwt-token";
|
|
194
188
|
const STORAGE_REFRESH_TOKEN_KEY = "evergis-refresh-token";
|
|
195
189
|
|
|
@@ -341,8 +335,37 @@ let DataSourceService = /*#__PURE__*/function (_Service) {
|
|
|
341
335
|
}
|
|
342
336
|
|
|
343
337
|
_createClass(DataSourceService, [{
|
|
344
|
-
key: "
|
|
338
|
+
key: "createArcGisDataSource",
|
|
345
339
|
value:
|
|
340
|
+
/**
|
|
341
|
+
* No description
|
|
342
|
+
*
|
|
343
|
+
* @tags DataSource
|
|
344
|
+
* @name CreateArcGisDataSource
|
|
345
|
+
* @operationId DataSourceController_CreateArcGisDataSource
|
|
346
|
+
* @summary Create S3 data source.
|
|
347
|
+
* @request POST:/ds/arcgis
|
|
348
|
+
* @response `200` OK
|
|
349
|
+
*/
|
|
350
|
+
function createArcGisDataSource(data) {
|
|
351
|
+
return this.http.post("/ds/arcgis", data).then(() => {});
|
|
352
|
+
}
|
|
353
|
+
/**
|
|
354
|
+
* No description
|
|
355
|
+
*
|
|
356
|
+
* @tags DataSource
|
|
357
|
+
* @name UpdateArcGisDataSource
|
|
358
|
+
* @operationId DataSourceController_UpdateArcGisDataSource
|
|
359
|
+
* @summary Update arcgis data source.
|
|
360
|
+
* @request PATCH:/ds/arcgis
|
|
361
|
+
* @response `200` OK
|
|
362
|
+
*/
|
|
363
|
+
|
|
364
|
+
}, {
|
|
365
|
+
key: "updateArcGisDataSource",
|
|
366
|
+
value: function updateArcGisDataSource(data) {
|
|
367
|
+
return this.http.patch("/ds/arcgis", data).then(() => {});
|
|
368
|
+
}
|
|
346
369
|
/**
|
|
347
370
|
* No description
|
|
348
371
|
*
|
|
@@ -353,7 +376,10 @@ let DataSourceService = /*#__PURE__*/function (_Service) {
|
|
|
353
376
|
* @request GET:/ds
|
|
354
377
|
* @response `200` OK
|
|
355
378
|
*/
|
|
356
|
-
|
|
379
|
+
|
|
380
|
+
}, {
|
|
381
|
+
key: "getDataSourcesList",
|
|
382
|
+
value: function getDataSourcesList(query) {
|
|
357
383
|
return this.http.get("/ds", query).json();
|
|
358
384
|
}
|
|
359
385
|
/**
|
|
@@ -436,6 +462,70 @@ let DataSourceService = /*#__PURE__*/function (_Service) {
|
|
|
436
462
|
value: function testConnection(data) {
|
|
437
463
|
return this.http.post("/ds/testConnection", data).json();
|
|
438
464
|
}
|
|
465
|
+
/**
|
|
466
|
+
* No description
|
|
467
|
+
*
|
|
468
|
+
* @tags DataSource
|
|
469
|
+
* @name CreateS3DataSource
|
|
470
|
+
* @operationId DataSourceController_CreateS3DataSource
|
|
471
|
+
* @summary Create S3 data source.
|
|
472
|
+
* @request POST:/ds/s3
|
|
473
|
+
* @response `200` OK
|
|
474
|
+
*/
|
|
475
|
+
|
|
476
|
+
}, {
|
|
477
|
+
key: "createS3DataSource",
|
|
478
|
+
value: function createS3DataSource(data) {
|
|
479
|
+
return this.http.post("/ds/s3", data).then(() => {});
|
|
480
|
+
}
|
|
481
|
+
/**
|
|
482
|
+
* No description
|
|
483
|
+
*
|
|
484
|
+
* @tags DataSource
|
|
485
|
+
* @name UpdateS3DataSource
|
|
486
|
+
* @operationId DataSourceController_UpdateS3DataSource
|
|
487
|
+
* @summary Create S3 data source.
|
|
488
|
+
* @request PATCH:/ds/s3
|
|
489
|
+
* @response `200` OK
|
|
490
|
+
*/
|
|
491
|
+
|
|
492
|
+
}, {
|
|
493
|
+
key: "updateS3DataSource",
|
|
494
|
+
value: function updateS3DataSource(data) {
|
|
495
|
+
return this.http.patch("/ds/s3", data).then(() => {});
|
|
496
|
+
}
|
|
497
|
+
/**
|
|
498
|
+
* No description
|
|
499
|
+
*
|
|
500
|
+
* @tags DataSource
|
|
501
|
+
* @name CreateArcGisDataSource1
|
|
502
|
+
* @operationId DataSourceController_CreateArcGisDataSource_1
|
|
503
|
+
* @summary Create WMS data source.
|
|
504
|
+
* @request POST:/ds/wms
|
|
505
|
+
* @response `200` OK
|
|
506
|
+
*/
|
|
507
|
+
|
|
508
|
+
}, {
|
|
509
|
+
key: "createArcGisDataSource1",
|
|
510
|
+
value: function createArcGisDataSource1(data) {
|
|
511
|
+
return this.http.post("/ds/wms", data).then(() => {});
|
|
512
|
+
}
|
|
513
|
+
/**
|
|
514
|
+
* No description
|
|
515
|
+
*
|
|
516
|
+
* @tags DataSource
|
|
517
|
+
* @name UpdateArcGisDataSource1
|
|
518
|
+
* @operationId DataSourceController_UpdateArcGisDataSource_1
|
|
519
|
+
* @summary Update WMS data source.
|
|
520
|
+
* @request PATCH:/ds/wms
|
|
521
|
+
* @response `200` OK
|
|
522
|
+
*/
|
|
523
|
+
|
|
524
|
+
}, {
|
|
525
|
+
key: "updateArcGisDataSource1",
|
|
526
|
+
value: function updateArcGisDataSource1(data) {
|
|
527
|
+
return this.http.patch("/ds/wms", data).then(() => {});
|
|
528
|
+
}
|
|
439
529
|
}]);
|
|
440
530
|
|
|
441
531
|
return DataSourceService;
|
|
@@ -1056,7 +1146,7 @@ let AccountService = /*#__PURE__*/function (_Service) {
|
|
|
1056
1146
|
return this.http.post("/account/register", data).text();
|
|
1057
1147
|
}
|
|
1058
1148
|
/**
|
|
1059
|
-
* @description Only for users with SPCore.Security.ISecurityManager.SuperuserRole role.
|
|
1149
|
+
* @description Only for users with SPCore.Security.Abstractions.ISecurityManager.SuperuserRole role.
|
|
1060
1150
|
*
|
|
1061
1151
|
* @tags Account
|
|
1062
1152
|
* @name CreateUser
|
|
@@ -1088,7 +1178,7 @@ let AccountService = /*#__PURE__*/function (_Service) {
|
|
|
1088
1178
|
return this.http.patch("/account/user", data).then(() => {});
|
|
1089
1179
|
}
|
|
1090
1180
|
/**
|
|
1091
|
-
* @description Only for users with SPCore.Security.ISecurityManager.SuperuserRole role.
|
|
1181
|
+
* @description Only for users with SPCore.Security.Abstractions.ISecurityManager.SuperuserRole role.
|
|
1092
1182
|
*
|
|
1093
1183
|
* @tags Account
|
|
1094
1184
|
* @name ConfirmEmail
|
|
@@ -2326,6 +2416,22 @@ let EqlService = /*#__PURE__*/function (_Service) {
|
|
|
2326
2416
|
value: function removeLayerParameterValue(query) {
|
|
2327
2417
|
return this.http.delete("/eql/removeParam", null, query).then(() => {});
|
|
2328
2418
|
}
|
|
2419
|
+
/**
|
|
2420
|
+
* No description
|
|
2421
|
+
*
|
|
2422
|
+
* @tags Eql
|
|
2423
|
+
* @name GetAvailiableLayerParameters
|
|
2424
|
+
* @operationId EqlController_GetAvailiableLayerParameters
|
|
2425
|
+
* @summary Get availiable layer parameters values.
|
|
2426
|
+
* @request GET:/eql/getAvailiableParams
|
|
2427
|
+
* @response `200` OK
|
|
2428
|
+
*/
|
|
2429
|
+
|
|
2430
|
+
}, {
|
|
2431
|
+
key: "getAvailiableLayerParameters",
|
|
2432
|
+
value: function getAvailiableLayerParameters(query) {
|
|
2433
|
+
return this.http.get("/eql/getAvailiableParams", query).json();
|
|
2434
|
+
}
|
|
2329
2435
|
}]);
|
|
2330
2436
|
|
|
2331
2437
|
return EqlService;
|
|
@@ -4836,15 +4942,6 @@ function formDataFromFile(file) {
|
|
|
4836
4942
|
return data;
|
|
4837
4943
|
}
|
|
4838
4944
|
|
|
4839
|
-
function createGuard(type) {
|
|
4840
|
-
return function (typed) {
|
|
4841
|
-
if (!typed.type) return false;
|
|
4842
|
-
return type.includes(typed.type);
|
|
4843
|
-
};
|
|
4844
|
-
}
|
|
4845
|
-
|
|
4846
|
-
const isLayer = /*#__PURE__*/createGuard(['PostgresLayerService', 'PostgresTileLayerService', 'QueryLayerService']);
|
|
4847
|
-
|
|
4848
4945
|
function isString(v) {
|
|
4849
4946
|
return typeof v === 'string';
|
|
4850
4947
|
}
|
|
@@ -5937,259 +6034,174 @@ function isProjectContentItems(v) {
|
|
|
5937
6034
|
return v !== null && v !== undefined;
|
|
5938
6035
|
}
|
|
5939
6036
|
|
|
6037
|
+
const _excluded$7 = ["id"];
|
|
5940
6038
|
/**
|
|
5941
6039
|
* @title Spatial Processing Core API
|
|
5942
6040
|
* @version 1.5.1.0
|
|
5943
6041
|
* @baseUrl /sp
|
|
5944
6042
|
*/
|
|
5945
6043
|
|
|
5946
|
-
let
|
|
5947
|
-
_inherits(
|
|
6044
|
+
let RemoteTaskManagerService = /*#__PURE__*/function (_Service) {
|
|
6045
|
+
_inherits(RemoteTaskManagerService, _Service);
|
|
5948
6046
|
|
|
5949
|
-
var _super = /*#__PURE__*/_createSuper(
|
|
6047
|
+
var _super = /*#__PURE__*/_createSuper(RemoteTaskManagerService);
|
|
5950
6048
|
|
|
5951
|
-
function
|
|
5952
|
-
_classCallCheck(this,
|
|
6049
|
+
function RemoteTaskManagerService() {
|
|
6050
|
+
_classCallCheck(this, RemoteTaskManagerService);
|
|
5953
6051
|
|
|
5954
6052
|
return _super.apply(this, arguments);
|
|
5955
6053
|
}
|
|
5956
6054
|
|
|
5957
|
-
_createClass(
|
|
5958
|
-
key: "
|
|
6055
|
+
_createClass(RemoteTaskManagerService, [{
|
|
6056
|
+
key: "cancelTask",
|
|
5959
6057
|
value:
|
|
5960
6058
|
/**
|
|
5961
|
-
*
|
|
6059
|
+
* No description
|
|
5962
6060
|
*
|
|
5963
|
-
* @tags
|
|
5964
|
-
* @name
|
|
5965
|
-
* @operationId
|
|
5966
|
-
* @summary
|
|
5967
|
-
* @request
|
|
6061
|
+
* @tags RemoteTaskManager
|
|
6062
|
+
* @name CancelTask
|
|
6063
|
+
* @operationId RemoteTaskManagerController_CancelTask
|
|
6064
|
+
* @summary Cancel task execution by given id.
|
|
6065
|
+
* @request POST:/scheduler/tasks/{id}/cancel
|
|
5968
6066
|
* @response `200` OK
|
|
5969
6067
|
*/
|
|
5970
|
-
function
|
|
5971
|
-
return this.http.
|
|
6068
|
+
function cancelTask(id) {
|
|
6069
|
+
return this.http.post("/scheduler/tasks/" + id + "/cancel", null).then(() => {});
|
|
5972
6070
|
}
|
|
5973
6071
|
/**
|
|
5974
6072
|
* No description
|
|
5975
6073
|
*
|
|
5976
|
-
* @tags
|
|
5977
|
-
* @name
|
|
5978
|
-
* @operationId
|
|
5979
|
-
* @summary
|
|
5980
|
-
* @request POST:/
|
|
6074
|
+
* @tags RemoteTaskManager
|
|
6075
|
+
* @name StartCogCreateTask
|
|
6076
|
+
* @operationId RemoteTaskManagerController_StartCogCreateTask
|
|
6077
|
+
* @summary Plans the execution of a 'create raster cog' server task.
|
|
6078
|
+
* @request POST:/scheduler/tasks#type=cogService_create
|
|
5981
6079
|
* @response `200` OK
|
|
5982
6080
|
*/
|
|
5983
6081
|
|
|
5984
6082
|
}, {
|
|
5985
|
-
key: "
|
|
5986
|
-
value: function
|
|
5987
|
-
return this.http.post("/
|
|
6083
|
+
key: "startCogCreateTask",
|
|
6084
|
+
value: function startCogCreateTask(data) {
|
|
6085
|
+
return this.http.post("/scheduler/tasks", data, {
|
|
6086
|
+
type: 'cogService_create'
|
|
6087
|
+
}).text();
|
|
5988
6088
|
}
|
|
5989
|
-
|
|
5990
|
-
|
|
5991
|
-
|
|
5992
|
-
|
|
5993
|
-
|
|
5994
|
-
|
|
5995
|
-
|
|
5996
|
-
|
|
5997
|
-
|
|
5998
|
-
|
|
5999
|
-
function ResourceCatalog() {
|
|
6000
|
-
_classCallCheck(this, ResourceCatalog);
|
|
6001
|
-
|
|
6002
|
-
return _super.apply(this, arguments);
|
|
6003
|
-
}
|
|
6004
|
-
|
|
6005
|
-
return _createClass(ResourceCatalog);
|
|
6006
|
-
}(ResourceCatalogService);
|
|
6007
|
-
|
|
6008
|
-
(function (DependencyType) {
|
|
6009
|
-
DependencyType["Layer"] = "Layer";
|
|
6010
|
-
DependencyType["Table"] = "Table";
|
|
6011
|
-
DependencyType["Project"] = "Project";
|
|
6012
|
-
})(exports.DependencyType || (exports.DependencyType = {}));
|
|
6013
|
-
|
|
6014
|
-
let Resources = /*#__PURE__*/function () {
|
|
6015
|
-
function Resources(projects, layers, tables) {
|
|
6016
|
-
_classCallCheck(this, Resources);
|
|
6017
|
-
|
|
6018
|
-
this.projects = projects;
|
|
6019
|
-
this.layers = layers;
|
|
6020
|
-
this.tables = tables;
|
|
6021
|
-
}
|
|
6089
|
+
/**
|
|
6090
|
+
* No description
|
|
6091
|
+
*
|
|
6092
|
+
* @tags RemoteTaskManager
|
|
6093
|
+
* @name StartRasterVrtTask
|
|
6094
|
+
* @operationId RemoteTaskManagerController_StartRasterVrtTask
|
|
6095
|
+
* @summary Plans the execution of a 'create raster vrt' server task.
|
|
6096
|
+
* @request POST:/scheduler/tasks#type=cogService_vrt
|
|
6097
|
+
* @response `200` OK
|
|
6098
|
+
*/
|
|
6022
6099
|
|
|
6023
|
-
_createClass(Resources, [{
|
|
6024
|
-
key: "getProjectInfosWithDeps",
|
|
6025
|
-
value: async function getProjectInfosWithDeps(projects) {
|
|
6026
|
-
const projectInfos = await this.projects.getProjectInfos(projects);
|
|
6027
|
-
const projectDeps = await this.projects.getProjectsDeps(projects);
|
|
6028
|
-
const {
|
|
6029
|
-
layers,
|
|
6030
|
-
tables
|
|
6031
|
-
} = await this.getDependencies(projectDeps, true, true);
|
|
6032
|
-
return {
|
|
6033
|
-
projects: projectInfos,
|
|
6034
|
-
deps: {
|
|
6035
|
-
layers,
|
|
6036
|
-
tables
|
|
6037
|
-
}
|
|
6038
|
-
};
|
|
6039
|
-
}
|
|
6040
6100
|
}, {
|
|
6041
|
-
key: "
|
|
6042
|
-
value:
|
|
6043
|
-
|
|
6044
|
-
|
|
6045
|
-
|
|
6046
|
-
tables
|
|
6047
|
-
} = await this.getDependencies(layersDeps, false, true);
|
|
6048
|
-
return {
|
|
6049
|
-
layers: layerInfos,
|
|
6050
|
-
deps: {
|
|
6051
|
-
tables
|
|
6052
|
-
}
|
|
6053
|
-
};
|
|
6101
|
+
key: "startRasterVrtTask",
|
|
6102
|
+
value: function startRasterVrtTask(data) {
|
|
6103
|
+
return this.http.post("/scheduler/tasks", data, {
|
|
6104
|
+
type: 'cogService_vrt'
|
|
6105
|
+
}).text();
|
|
6054
6106
|
}
|
|
6055
|
-
|
|
6056
|
-
|
|
6057
|
-
|
|
6058
|
-
|
|
6059
|
-
|
|
6060
|
-
|
|
6061
|
-
|
|
6062
|
-
|
|
6063
|
-
|
|
6064
|
-
|
|
6065
|
-
const layerNames = this.getDependentNames(deps, exports.DependencyType.Layer);
|
|
6066
|
-
acc.layers.push(...layerNames);
|
|
6067
|
-
}
|
|
6068
|
-
|
|
6069
|
-
if (pickTables) {
|
|
6070
|
-
const tableNames = this.getDependentNames(deps, exports.DependencyType.Table);
|
|
6071
|
-
acc.tables.push(...tableNames);
|
|
6072
|
-
}
|
|
6107
|
+
/**
|
|
6108
|
+
* No description
|
|
6109
|
+
*
|
|
6110
|
+
* @tags RemoteTaskManager
|
|
6111
|
+
* @name StartNetCdfTask
|
|
6112
|
+
* @operationId RemoteTaskManagerController_StartNetCdfTask
|
|
6113
|
+
* @summary Plans the execution of a 'create raster netcdf' server task.
|
|
6114
|
+
* @request POST:/scheduler/tasks#type=cogService_netcdf
|
|
6115
|
+
* @response `200` OK
|
|
6116
|
+
*/
|
|
6073
6117
|
|
|
6074
|
-
return acc;
|
|
6075
|
-
}, {
|
|
6076
|
-
tables: [],
|
|
6077
|
-
layers: []
|
|
6078
|
-
});
|
|
6079
|
-
return {
|
|
6080
|
-
tables: await this.tables.getTableInfos(tables.filter(unique)),
|
|
6081
|
-
layers: await this.layers.getLayerInfos(layers.filter(unique))
|
|
6082
|
-
};
|
|
6083
|
-
}
|
|
6084
6118
|
}, {
|
|
6085
|
-
key: "
|
|
6086
|
-
value: function
|
|
6087
|
-
return
|
|
6088
|
-
|
|
6089
|
-
|
|
6090
|
-
} = _ref;
|
|
6091
|
-
return type === depType;
|
|
6092
|
-
}).map(_ref2 => {
|
|
6093
|
-
let {
|
|
6094
|
-
name
|
|
6095
|
-
} = _ref2;
|
|
6096
|
-
return name;
|
|
6097
|
-
}).filter(isString);
|
|
6119
|
+
key: "startNetCdfTask",
|
|
6120
|
+
value: function startNetCdfTask(data) {
|
|
6121
|
+
return this.http.post("/scheduler/tasks", data, {
|
|
6122
|
+
type: 'cogService_netcdf'
|
|
6123
|
+
}).text();
|
|
6098
6124
|
}
|
|
6099
|
-
}]);
|
|
6100
|
-
|
|
6101
|
-
return Resources;
|
|
6102
|
-
}();
|
|
6103
|
-
|
|
6104
|
-
/**
|
|
6105
|
-
* @title Spatial Processing Core API
|
|
6106
|
-
* @version 1.5.1.0
|
|
6107
|
-
* @baseUrl /sp
|
|
6108
|
-
*/
|
|
6109
|
-
|
|
6110
|
-
let SchedulerService = /*#__PURE__*/function (_Service) {
|
|
6111
|
-
_inherits(SchedulerService, _Service);
|
|
6112
|
-
|
|
6113
|
-
var _super = /*#__PURE__*/_createSuper(SchedulerService);
|
|
6114
|
-
|
|
6115
|
-
function SchedulerService() {
|
|
6116
|
-
_classCallCheck(this, SchedulerService);
|
|
6117
|
-
|
|
6118
|
-
return _super.apply(this, arguments);
|
|
6119
|
-
}
|
|
6120
|
-
|
|
6121
|
-
_createClass(SchedulerService, [{
|
|
6122
|
-
key: "getTaskList",
|
|
6123
|
-
value:
|
|
6124
6125
|
/**
|
|
6125
6126
|
* No description
|
|
6126
6127
|
*
|
|
6127
|
-
* @tags
|
|
6128
|
-
* @name
|
|
6129
|
-
* @operationId
|
|
6130
|
-
* @summary
|
|
6131
|
-
* @request
|
|
6128
|
+
* @tags RemoteTaskManager
|
|
6129
|
+
* @name StartBufferTask
|
|
6130
|
+
* @operationId RemoteTaskManagerController_StartBufferTask
|
|
6131
|
+
* @summary Plans the execution of a 'create buffers' server task.
|
|
6132
|
+
* @request POST:/scheduler/tasks#type=geoService_buffer
|
|
6132
6133
|
* @response `200` OK
|
|
6133
6134
|
*/
|
|
6134
|
-
|
|
6135
|
-
|
|
6135
|
+
|
|
6136
|
+
}, {
|
|
6137
|
+
key: "startBufferTask",
|
|
6138
|
+
value: function startBufferTask(data) {
|
|
6139
|
+
return this.http.post("/scheduler/tasks", data, {
|
|
6140
|
+
type: 'geoService_buffer'
|
|
6141
|
+
}).text();
|
|
6136
6142
|
}
|
|
6137
6143
|
/**
|
|
6138
6144
|
* No description
|
|
6139
6145
|
*
|
|
6140
|
-
* @tags
|
|
6141
|
-
* @name
|
|
6142
|
-
* @operationId
|
|
6143
|
-
* @summary
|
|
6144
|
-
* @request
|
|
6146
|
+
* @tags RemoteTaskManager
|
|
6147
|
+
* @name StartCopyTableTask
|
|
6148
|
+
* @operationId RemoteTaskManagerController_StartCopyTableTask
|
|
6149
|
+
* @summary Plans the execution of a 'copy table' server task.
|
|
6150
|
+
* @request POST:/scheduler/tasks#type=geoService_copy
|
|
6145
6151
|
* @response `200` OK
|
|
6146
6152
|
*/
|
|
6147
6153
|
|
|
6148
6154
|
}, {
|
|
6149
|
-
key: "
|
|
6150
|
-
value: function
|
|
6151
|
-
return this.http.
|
|
6155
|
+
key: "startCopyTableTask",
|
|
6156
|
+
value: function startCopyTableTask(data) {
|
|
6157
|
+
return this.http.post("/scheduler/tasks", data, {
|
|
6158
|
+
type: 'geoService_copy'
|
|
6159
|
+
}).text();
|
|
6152
6160
|
}
|
|
6153
6161
|
/**
|
|
6154
6162
|
* No description
|
|
6155
6163
|
*
|
|
6156
|
-
* @tags
|
|
6157
|
-
* @name
|
|
6158
|
-
* @operationId
|
|
6159
|
-
* @summary
|
|
6160
|
-
* @request
|
|
6164
|
+
* @tags RemoteTaskManager
|
|
6165
|
+
* @name StartUnionTask
|
|
6166
|
+
* @operationId RemoteTaskManagerController_StartUnionTask
|
|
6167
|
+
* @summary Plans the execution of a 'create union' server task.
|
|
6168
|
+
* @request POST:/scheduler/tasks#type=geoService_union
|
|
6161
6169
|
* @response `200` OK
|
|
6162
6170
|
*/
|
|
6163
6171
|
|
|
6164
6172
|
}, {
|
|
6165
|
-
key: "
|
|
6166
|
-
value: function
|
|
6167
|
-
return this.http.
|
|
6173
|
+
key: "startUnionTask",
|
|
6174
|
+
value: function startUnionTask(data) {
|
|
6175
|
+
return this.http.post("/scheduler/tasks", data, {
|
|
6176
|
+
type: 'geoService_union'
|
|
6177
|
+
}).text();
|
|
6168
6178
|
}
|
|
6169
6179
|
/**
|
|
6170
6180
|
* No description
|
|
6171
6181
|
*
|
|
6172
|
-
* @tags
|
|
6173
|
-
* @name
|
|
6174
|
-
* @operationId
|
|
6175
|
-
* @summary
|
|
6176
|
-
* @request POST:/scheduler/tasks
|
|
6182
|
+
* @tags RemoteTaskManager
|
|
6183
|
+
* @name StartOverlayTask
|
|
6184
|
+
* @operationId RemoteTaskManagerController_StartOverlayTask
|
|
6185
|
+
* @summary Plans the execution of a 'create overlay' server task.
|
|
6186
|
+
* @request POST:/scheduler/tasks#type=geoService_overlay
|
|
6177
6187
|
* @response `200` OK
|
|
6178
6188
|
*/
|
|
6179
6189
|
|
|
6180
6190
|
}, {
|
|
6181
|
-
key: "
|
|
6182
|
-
value: function
|
|
6183
|
-
return this.http.post("/scheduler/tasks
|
|
6191
|
+
key: "startOverlayTask",
|
|
6192
|
+
value: function startOverlayTask(data) {
|
|
6193
|
+
return this.http.post("/scheduler/tasks", data, {
|
|
6194
|
+
type: 'geoService_overlay'
|
|
6195
|
+
}).text();
|
|
6184
6196
|
}
|
|
6185
6197
|
/**
|
|
6186
6198
|
* No description
|
|
6187
6199
|
*
|
|
6188
|
-
* @tags
|
|
6200
|
+
* @tags RemoteTaskManager
|
|
6189
6201
|
* @name StartCopyTask
|
|
6190
|
-
* @operationId
|
|
6191
|
-
* @summary Plans the execution of a 'copy' server task.
|
|
6192
|
-
* @request POST:/scheduler/tasks#type=
|
|
6202
|
+
* @operationId RemoteTaskManagerController_StartCopyTask
|
|
6203
|
+
* @summary Plans the execution of a 'copy storages' server task.
|
|
6204
|
+
* @request POST:/scheduler/tasks#type=copyTask
|
|
6193
6205
|
* @response `200` OK
|
|
6194
6206
|
*/
|
|
6195
6207
|
|
|
@@ -6197,396 +6209,424 @@ let SchedulerService = /*#__PURE__*/function (_Service) {
|
|
|
6197
6209
|
key: "startCopyTask",
|
|
6198
6210
|
value: function startCopyTask(data) {
|
|
6199
6211
|
return this.http.post("/scheduler/tasks", data, {
|
|
6200
|
-
type: '
|
|
6201
|
-
}).
|
|
6212
|
+
type: 'copyTask'
|
|
6213
|
+
}).text();
|
|
6202
6214
|
}
|
|
6203
6215
|
/**
|
|
6204
6216
|
* No description
|
|
6205
6217
|
*
|
|
6206
|
-
* @tags
|
|
6207
|
-
* @name
|
|
6208
|
-
* @operationId
|
|
6209
|
-
* @summary Plans the execution of a '
|
|
6210
|
-
* @request POST:/scheduler/tasks#type=
|
|
6218
|
+
* @tags RemoteTaskManager
|
|
6219
|
+
* @name StartAvailableAreaTask
|
|
6220
|
+
* @operationId RemoteTaskManagerController_StartAvailableAreaTask
|
|
6221
|
+
* @summary Plans the execution of a 'create available area' server task.
|
|
6222
|
+
* @request POST:/scheduler/tasks#type=availabilityArea
|
|
6211
6223
|
* @response `200` OK
|
|
6212
6224
|
*/
|
|
6213
6225
|
|
|
6214
6226
|
}, {
|
|
6215
|
-
key: "
|
|
6216
|
-
value: function
|
|
6227
|
+
key: "startAvailableAreaTask",
|
|
6228
|
+
value: function startAvailableAreaTask(data) {
|
|
6217
6229
|
return this.http.post("/scheduler/tasks", data, {
|
|
6218
|
-
type: '
|
|
6219
|
-
}).
|
|
6230
|
+
type: 'availabilityArea'
|
|
6231
|
+
}).text();
|
|
6220
6232
|
}
|
|
6221
6233
|
/**
|
|
6222
6234
|
* No description
|
|
6223
6235
|
*
|
|
6224
|
-
* @tags
|
|
6225
|
-
* @name
|
|
6226
|
-
* @operationId
|
|
6227
|
-
* @summary Plans the execution of a '
|
|
6228
|
-
* @request POST:/scheduler/tasks#type=
|
|
6236
|
+
* @tags RemoteTaskManager
|
|
6237
|
+
* @name StartGeocodeTask
|
|
6238
|
+
* @operationId RemoteTaskManagerController_StartGeocodeTask
|
|
6239
|
+
* @summary Plans the execution of a 'geocode' server task.
|
|
6240
|
+
* @request POST:/scheduler/tasks#type=geocodeTask
|
|
6229
6241
|
* @response `200` OK
|
|
6230
6242
|
*/
|
|
6231
6243
|
|
|
6232
6244
|
}, {
|
|
6233
|
-
key: "
|
|
6234
|
-
value: function
|
|
6245
|
+
key: "startGeocodeTask",
|
|
6246
|
+
value: function startGeocodeTask(data) {
|
|
6235
6247
|
return this.http.post("/scheduler/tasks", data, {
|
|
6236
|
-
type: '
|
|
6237
|
-
}).
|
|
6248
|
+
type: 'geocodeTask'
|
|
6249
|
+
}).text();
|
|
6238
6250
|
}
|
|
6239
6251
|
/**
|
|
6240
6252
|
* No description
|
|
6241
6253
|
*
|
|
6242
|
-
* @tags
|
|
6243
|
-
* @name
|
|
6244
|
-
* @operationId
|
|
6245
|
-
* @summary
|
|
6246
|
-
* @request
|
|
6254
|
+
* @tags RemoteTaskManager
|
|
6255
|
+
* @name Get
|
|
6256
|
+
* @operationId RemoteTaskManagerController_Get
|
|
6257
|
+
* @summary Shows SubTask in Task.
|
|
6258
|
+
* @request GET:/scheduler/task/{id}/subtasks
|
|
6247
6259
|
* @response `200` OK
|
|
6248
6260
|
*/
|
|
6249
6261
|
|
|
6250
6262
|
}, {
|
|
6251
|
-
key: "
|
|
6252
|
-
value: function
|
|
6253
|
-
return this.http.
|
|
6254
|
-
type: 'print'
|
|
6255
|
-
}).json();
|
|
6263
|
+
key: "get",
|
|
6264
|
+
value: function get(id) {
|
|
6265
|
+
return this.http.get("/scheduler/task/" + id + "/subtasks").then(() => {});
|
|
6256
6266
|
}
|
|
6257
6267
|
/**
|
|
6258
6268
|
* No description
|
|
6259
6269
|
*
|
|
6260
|
-
* @tags
|
|
6261
|
-
* @name
|
|
6262
|
-
* @operationId
|
|
6263
|
-
* @summary
|
|
6264
|
-
* @request POST:/scheduler/
|
|
6270
|
+
* @tags RemoteTaskManager
|
|
6271
|
+
* @name Stop
|
|
6272
|
+
* @operationId RemoteTaskManagerController_Stop
|
|
6273
|
+
* @summary Stop the task.
|
|
6274
|
+
* @request POST:/scheduler/task/{id}/stop
|
|
6265
6275
|
* @response `200` OK
|
|
6266
6276
|
*/
|
|
6267
6277
|
|
|
6268
6278
|
}, {
|
|
6269
|
-
key: "
|
|
6270
|
-
value: function
|
|
6271
|
-
return this.http.post("/scheduler/
|
|
6272
|
-
type: 'tiling'
|
|
6273
|
-
}).json();
|
|
6279
|
+
key: "stop",
|
|
6280
|
+
value: function stop(id) {
|
|
6281
|
+
return this.http.post("/scheduler/task/" + id + "/stop", null).then(() => {});
|
|
6274
6282
|
}
|
|
6275
6283
|
/**
|
|
6276
6284
|
* No description
|
|
6277
6285
|
*
|
|
6278
|
-
* @tags
|
|
6279
|
-
* @name
|
|
6280
|
-
* @operationId
|
|
6281
|
-
* @summary
|
|
6282
|
-
* @request POST:/scheduler
|
|
6286
|
+
* @tags RemoteTaskManager
|
|
6287
|
+
* @name CreateTaskPrototype
|
|
6288
|
+
* @operationId RemoteTaskManagerController_CreateTaskPrototype
|
|
6289
|
+
* @summary Creates TaskPrototype.
|
|
6290
|
+
* @request POST:/scheduler
|
|
6283
6291
|
* @response `200` OK
|
|
6284
6292
|
*/
|
|
6285
6293
|
|
|
6286
6294
|
}, {
|
|
6287
|
-
key: "
|
|
6288
|
-
value: function
|
|
6289
|
-
return this.http.post("/scheduler
|
|
6290
|
-
type: 'rasterVrt'
|
|
6291
|
-
}).json();
|
|
6295
|
+
key: "createTaskPrototype",
|
|
6296
|
+
value: function createTaskPrototype(data) {
|
|
6297
|
+
return this.http.post("/scheduler", data).text();
|
|
6292
6298
|
}
|
|
6293
6299
|
/**
|
|
6294
6300
|
* No description
|
|
6295
6301
|
*
|
|
6296
|
-
* @tags
|
|
6297
|
-
* @name
|
|
6298
|
-
* @operationId
|
|
6299
|
-
* @summary
|
|
6300
|
-
* @request
|
|
6302
|
+
* @tags RemoteTaskManager
|
|
6303
|
+
* @name GetTaskPrototypes
|
|
6304
|
+
* @operationId RemoteTaskManagerController_GetTaskPrototypes
|
|
6305
|
+
* @summary Show TaskPrototypes for user.
|
|
6306
|
+
* @request GET:/scheduler
|
|
6301
6307
|
* @response `200` OK
|
|
6302
6308
|
*/
|
|
6303
6309
|
|
|
6304
6310
|
}, {
|
|
6305
|
-
key: "
|
|
6306
|
-
value: function
|
|
6307
|
-
return this.http.
|
|
6308
|
-
type: 'netcdf'
|
|
6309
|
-
}).json();
|
|
6311
|
+
key: "getTaskPrototypes",
|
|
6312
|
+
value: function getTaskPrototypes(query) {
|
|
6313
|
+
return this.http.get("/scheduler", query).then(() => {});
|
|
6310
6314
|
}
|
|
6311
6315
|
/**
|
|
6312
6316
|
* No description
|
|
6313
6317
|
*
|
|
6314
|
-
* @tags
|
|
6315
|
-
* @name
|
|
6316
|
-
* @operationId
|
|
6317
|
-
* @summary
|
|
6318
|
-
* @request
|
|
6318
|
+
* @tags RemoteTaskManager
|
|
6319
|
+
* @name UpdateTaskPrototype
|
|
6320
|
+
* @operationId RemoteTaskManagerController_UpdateTaskPrototype
|
|
6321
|
+
* @summary Updates task prototype.
|
|
6322
|
+
* @request PUT:/scheduler/{id}
|
|
6319
6323
|
* @response `200` OK
|
|
6320
6324
|
*/
|
|
6321
6325
|
|
|
6322
6326
|
}, {
|
|
6323
|
-
key: "
|
|
6324
|
-
value: function
|
|
6325
|
-
return this.http.
|
|
6326
|
-
type: 'route'
|
|
6327
|
-
}).json();
|
|
6327
|
+
key: "updateTaskPrototype",
|
|
6328
|
+
value: function updateTaskPrototype(id, data) {
|
|
6329
|
+
return this.http.put("/scheduler/" + id, data).then(() => {});
|
|
6328
6330
|
}
|
|
6329
6331
|
/**
|
|
6330
6332
|
* No description
|
|
6331
6333
|
*
|
|
6332
|
-
* @tags
|
|
6333
|
-
* @name
|
|
6334
|
-
* @operationId
|
|
6335
|
-
* @summary
|
|
6336
|
-
* @request
|
|
6334
|
+
* @tags RemoteTaskManager
|
|
6335
|
+
* @name Delete
|
|
6336
|
+
* @operationId RemoteTaskManagerController_Delete
|
|
6337
|
+
* @summary Delete task prototype.
|
|
6338
|
+
* @request DELETE:/scheduler/{id}
|
|
6337
6339
|
* @response `200` OK
|
|
6338
6340
|
*/
|
|
6339
6341
|
|
|
6340
6342
|
}, {
|
|
6341
|
-
key: "
|
|
6342
|
-
value: function
|
|
6343
|
-
return this.http.
|
|
6344
|
-
type: 'union'
|
|
6345
|
-
}).json();
|
|
6343
|
+
key: "delete",
|
|
6344
|
+
value: function _delete(id) {
|
|
6345
|
+
return this.http.delete("/scheduler/" + id, null).then(() => {});
|
|
6346
6346
|
}
|
|
6347
6347
|
/**
|
|
6348
6348
|
* No description
|
|
6349
6349
|
*
|
|
6350
|
-
* @tags
|
|
6351
|
-
* @name
|
|
6352
|
-
* @operationId
|
|
6353
|
-
* @summary
|
|
6354
|
-
* @request POST:/scheduler/
|
|
6350
|
+
* @tags RemoteTaskManager
|
|
6351
|
+
* @name SetEnable
|
|
6352
|
+
* @operationId RemoteTaskManagerController_SetEnable
|
|
6353
|
+
* @summary Enables task prototype.
|
|
6354
|
+
* @request POST:/scheduler/{id}/enable/{enable}
|
|
6355
6355
|
* @response `200` OK
|
|
6356
6356
|
*/
|
|
6357
6357
|
|
|
6358
6358
|
}, {
|
|
6359
|
-
key: "
|
|
6360
|
-
value: function
|
|
6361
|
-
return this.http.post("/scheduler/
|
|
6362
|
-
type: 'overlay'
|
|
6363
|
-
}).json();
|
|
6359
|
+
key: "setEnable",
|
|
6360
|
+
value: function setEnable(id, enable) {
|
|
6361
|
+
return this.http.post("/scheduler/" + id + "/enable/" + enable, null).then(() => {});
|
|
6364
6362
|
}
|
|
6365
6363
|
/**
|
|
6366
6364
|
* No description
|
|
6367
6365
|
*
|
|
6368
|
-
* @tags
|
|
6369
|
-
* @name
|
|
6370
|
-
* @operationId
|
|
6371
|
-
* @summary
|
|
6372
|
-
* @request
|
|
6366
|
+
* @tags RemoteTaskManager
|
|
6367
|
+
* @name GetTasksForPrototype
|
|
6368
|
+
* @operationId RemoteTaskManagerController_GetTasksForPrototype
|
|
6369
|
+
* @summary Shows Tasks that created for TaskPrototype.
|
|
6370
|
+
* @request GET:/scheduler/{id}/tasks
|
|
6373
6371
|
* @response `200` OK
|
|
6374
6372
|
*/
|
|
6375
6373
|
|
|
6376
6374
|
}, {
|
|
6377
|
-
key: "
|
|
6378
|
-
value: function
|
|
6379
|
-
|
|
6380
|
-
|
|
6381
|
-
}
|
|
6375
|
+
key: "getTasksForPrototype",
|
|
6376
|
+
value: function getTasksForPrototype(_ref) {
|
|
6377
|
+
let {
|
|
6378
|
+
id
|
|
6379
|
+
} = _ref,
|
|
6380
|
+
query = _objectWithoutPropertiesLoose(_ref, _excluded$7);
|
|
6381
|
+
|
|
6382
|
+
return this.http.get("/scheduler/" + id + "/tasks", query).then(() => {});
|
|
6382
6383
|
}
|
|
6383
6384
|
/**
|
|
6384
6385
|
* No description
|
|
6385
6386
|
*
|
|
6386
|
-
* @tags
|
|
6387
|
-
* @name
|
|
6388
|
-
* @operationId
|
|
6389
|
-
* @summary
|
|
6390
|
-
* @request POST:/scheduler/
|
|
6387
|
+
* @tags RemoteTaskManager
|
|
6388
|
+
* @name StartTask
|
|
6389
|
+
* @operationId RemoteTaskManagerController_StartTask
|
|
6390
|
+
* @summary Starts new Task for TaskPrototype with task id definition.
|
|
6391
|
+
* @request POST:/scheduler/{id}/start/{taskId}
|
|
6391
6392
|
* @response `200` OK
|
|
6392
6393
|
*/
|
|
6393
6394
|
|
|
6394
6395
|
}, {
|
|
6395
|
-
key: "
|
|
6396
|
-
value: function
|
|
6397
|
-
return this.http.post("/scheduler/
|
|
6398
|
-
type: 'pipeline'
|
|
6399
|
-
}).json();
|
|
6396
|
+
key: "startTask",
|
|
6397
|
+
value: function startTask(id, taskId) {
|
|
6398
|
+
return this.http.post("/scheduler/" + id + "/start/" + taskId, null).then(() => {});
|
|
6400
6399
|
}
|
|
6401
6400
|
/**
|
|
6402
6401
|
* No description
|
|
6403
6402
|
*
|
|
6404
|
-
* @tags
|
|
6405
|
-
* @name
|
|
6406
|
-
* @operationId
|
|
6407
|
-
* @summary
|
|
6408
|
-
* @request POST:/scheduler/
|
|
6403
|
+
* @tags RemoteTaskManager
|
|
6404
|
+
* @name StartTask1
|
|
6405
|
+
* @operationId RemoteTaskManagerController_StartTask_1
|
|
6406
|
+
* @summary Starts new Task for TaskPrototype .
|
|
6407
|
+
* @request POST:/scheduler/{id}/start
|
|
6409
6408
|
* @response `200` OK
|
|
6410
6409
|
*/
|
|
6411
6410
|
|
|
6412
6411
|
}, {
|
|
6413
|
-
key: "
|
|
6414
|
-
value: function
|
|
6415
|
-
return this.http.post("/scheduler/
|
|
6416
|
-
type: 'editAttributes'
|
|
6417
|
-
}).json();
|
|
6412
|
+
key: "startTask1",
|
|
6413
|
+
value: function startTask1(id) {
|
|
6414
|
+
return this.http.post("/scheduler/" + id + "/start", null).then(() => {});
|
|
6418
6415
|
}
|
|
6419
6416
|
/**
|
|
6420
6417
|
* No description
|
|
6421
6418
|
*
|
|
6422
|
-
* @tags
|
|
6423
|
-
* @name
|
|
6424
|
-
* @operationId
|
|
6425
|
-
* @summary
|
|
6426
|
-
* @request
|
|
6419
|
+
* @tags RemoteTaskManager
|
|
6420
|
+
* @name Get1
|
|
6421
|
+
* @operationId RemoteTaskManagerController_Get_1
|
|
6422
|
+
* @summary Shows active workers.
|
|
6423
|
+
* @request GET:/scheduler/worker
|
|
6427
6424
|
* @response `200` OK
|
|
6428
6425
|
*/
|
|
6429
6426
|
|
|
6430
6427
|
}, {
|
|
6431
|
-
key: "
|
|
6432
|
-
value: function
|
|
6433
|
-
return this.http.
|
|
6434
|
-
|
|
6435
|
-
|
|
6428
|
+
key: "get1",
|
|
6429
|
+
value: function get1() {
|
|
6430
|
+
return this.http.get("/scheduler/worker").json();
|
|
6431
|
+
}
|
|
6432
|
+
/**
|
|
6433
|
+
* No description
|
|
6434
|
+
*
|
|
6435
|
+
* @tags RemoteTaskManager
|
|
6436
|
+
* @name Post
|
|
6437
|
+
* @operationId RemoteTaskManagerController_Post
|
|
6438
|
+
* @summary Run method by HttpPost.
|
|
6439
|
+
* @request POST:/scheduler/worker
|
|
6440
|
+
* @response `200` OK
|
|
6441
|
+
*/
|
|
6442
|
+
|
|
6443
|
+
}, {
|
|
6444
|
+
key: "post",
|
|
6445
|
+
value: function post(data) {
|
|
6446
|
+
return this.http.post("/scheduler/worker", data).json();
|
|
6436
6447
|
}
|
|
6437
6448
|
}]);
|
|
6438
6449
|
|
|
6439
|
-
return
|
|
6450
|
+
return RemoteTaskManagerService;
|
|
6440
6451
|
}(Service);
|
|
6441
6452
|
|
|
6442
|
-
let
|
|
6443
|
-
_inherits(
|
|
6453
|
+
let RemoteTaskManager = /*#__PURE__*/function (_RemoteTaskManagerSer) {
|
|
6454
|
+
_inherits(RemoteTaskManager, _RemoteTaskManagerSer);
|
|
6444
6455
|
|
|
6445
|
-
var _super = /*#__PURE__*/_createSuper(
|
|
6456
|
+
var _super = /*#__PURE__*/_createSuper(RemoteTaskManager);
|
|
6446
6457
|
|
|
6447
|
-
function
|
|
6448
|
-
_classCallCheck(this,
|
|
6458
|
+
function RemoteTaskManager() {
|
|
6459
|
+
_classCallCheck(this, RemoteTaskManager);
|
|
6449
6460
|
|
|
6450
6461
|
return _super.apply(this, arguments);
|
|
6451
6462
|
}
|
|
6452
6463
|
|
|
6453
|
-
_createClass(
|
|
6454
|
-
|
|
6455
|
-
|
|
6456
|
-
|
|
6457
|
-
|
|
6458
|
-
|
|
6459
|
-
|
|
6460
|
-
|
|
6461
|
-
|
|
6462
|
-
|
|
6463
|
-
|
|
6464
|
-
|
|
6465
|
-
|
|
6466
|
-
|
|
6467
|
-
|
|
6468
|
-
|
|
6469
|
-
|
|
6470
|
-
|
|
6471
|
-
|
|
6472
|
-
|
|
6473
|
-
|
|
6474
|
-
|
|
6475
|
-
|
|
6476
|
-
|
|
6477
|
-
|
|
6478
|
-
|
|
6479
|
-
|
|
6480
|
-
|
|
6481
|
-
|
|
6482
|
-
|
|
6483
|
-
|
|
6484
|
-
|
|
6485
|
-
|
|
6486
|
-
|
|
6487
|
-
|
|
6488
|
-
const {
|
|
6489
|
-
taskId
|
|
6490
|
-
} = await this.startPrintTask(parameters);
|
|
6491
|
-
return this.processTaskId(taskId);
|
|
6492
|
-
}
|
|
6493
|
-
}, {
|
|
6494
|
-
key: "runTilingTask",
|
|
6495
|
-
value: async function runTilingTask(parameters) {
|
|
6496
|
-
const {
|
|
6497
|
-
taskId
|
|
6498
|
-
} = await this.startTilingTask(parameters);
|
|
6499
|
-
return this.processTaskId(taskId);
|
|
6500
|
-
}
|
|
6501
|
-
}, {
|
|
6502
|
-
key: "runRouteTask",
|
|
6503
|
-
value: async function runRouteTask(parameters) {
|
|
6504
|
-
const {
|
|
6505
|
-
taskId
|
|
6506
|
-
} = await this.startRouteTask(parameters);
|
|
6507
|
-
return this.processTaskId(taskId);
|
|
6464
|
+
return _createClass(RemoteTaskManager);
|
|
6465
|
+
}(RemoteTaskManagerService);
|
|
6466
|
+
|
|
6467
|
+
/**
|
|
6468
|
+
* @title Spatial Processing Core API
|
|
6469
|
+
* @version 1.5.1.0
|
|
6470
|
+
* @baseUrl /sp
|
|
6471
|
+
*/
|
|
6472
|
+
|
|
6473
|
+
let ResourceCatalogService = /*#__PURE__*/function (_Service) {
|
|
6474
|
+
_inherits(ResourceCatalogService, _Service);
|
|
6475
|
+
|
|
6476
|
+
var _super = /*#__PURE__*/_createSuper(ResourceCatalogService);
|
|
6477
|
+
|
|
6478
|
+
function ResourceCatalogService() {
|
|
6479
|
+
_classCallCheck(this, ResourceCatalogService);
|
|
6480
|
+
|
|
6481
|
+
return _super.apply(this, arguments);
|
|
6482
|
+
}
|
|
6483
|
+
|
|
6484
|
+
_createClass(ResourceCatalogService, [{
|
|
6485
|
+
key: "checkLimits",
|
|
6486
|
+
value:
|
|
6487
|
+
/**
|
|
6488
|
+
* @description This method requires superuser permission.
|
|
6489
|
+
*
|
|
6490
|
+
* @tags ResourceCatalog
|
|
6491
|
+
* @name CheckLimits
|
|
6492
|
+
* @operationId ResourceCatalogController_CheckLimits
|
|
6493
|
+
* @summary Get limits of workspace.
|
|
6494
|
+
* @request GET:/resources/checkLimits
|
|
6495
|
+
* @response `200` OK
|
|
6496
|
+
*/
|
|
6497
|
+
function checkLimits(query) {
|
|
6498
|
+
return this.http.get("/resources/checkLimits", query).json();
|
|
6508
6499
|
}
|
|
6500
|
+
/**
|
|
6501
|
+
* No description
|
|
6502
|
+
*
|
|
6503
|
+
* @tags ResourceCatalog
|
|
6504
|
+
* @name CopyResources
|
|
6505
|
+
* @operationId ResourceCatalogController_CopyResources
|
|
6506
|
+
* @summary Copy a set of resources.
|
|
6507
|
+
* @request POST:/resources/copy
|
|
6508
|
+
* @response `200` OK
|
|
6509
|
+
*/
|
|
6510
|
+
|
|
6509
6511
|
}, {
|
|
6510
|
-
key: "
|
|
6511
|
-
value:
|
|
6512
|
-
|
|
6513
|
-
taskId
|
|
6514
|
-
} = await this.startOverlayTask(parameters);
|
|
6515
|
-
return this.processTaskId(taskId);
|
|
6512
|
+
key: "copyResources",
|
|
6513
|
+
value: function copyResources(data) {
|
|
6514
|
+
return this.http.post("/resources/copy", data).json();
|
|
6516
6515
|
}
|
|
6517
|
-
}
|
|
6518
|
-
|
|
6519
|
-
|
|
6516
|
+
}]);
|
|
6517
|
+
|
|
6518
|
+
return ResourceCatalogService;
|
|
6519
|
+
}(Service);
|
|
6520
|
+
|
|
6521
|
+
let ResourceCatalog = /*#__PURE__*/function (_ResourceCatalogServi) {
|
|
6522
|
+
_inherits(ResourceCatalog, _ResourceCatalogServi);
|
|
6523
|
+
|
|
6524
|
+
var _super = /*#__PURE__*/_createSuper(ResourceCatalog);
|
|
6525
|
+
|
|
6526
|
+
function ResourceCatalog() {
|
|
6527
|
+
_classCallCheck(this, ResourceCatalog);
|
|
6528
|
+
|
|
6529
|
+
return _super.apply(this, arguments);
|
|
6530
|
+
}
|
|
6531
|
+
|
|
6532
|
+
return _createClass(ResourceCatalog);
|
|
6533
|
+
}(ResourceCatalogService);
|
|
6534
|
+
|
|
6535
|
+
(function (DependencyType) {
|
|
6536
|
+
DependencyType["Layer"] = "Layer";
|
|
6537
|
+
DependencyType["Table"] = "Table";
|
|
6538
|
+
DependencyType["Project"] = "Project";
|
|
6539
|
+
})(exports.DependencyType || (exports.DependencyType = {}));
|
|
6540
|
+
|
|
6541
|
+
let Resources = /*#__PURE__*/function () {
|
|
6542
|
+
function Resources(projects, layers, tables) {
|
|
6543
|
+
_classCallCheck(this, Resources);
|
|
6544
|
+
|
|
6545
|
+
this.projects = projects;
|
|
6546
|
+
this.layers = layers;
|
|
6547
|
+
this.tables = tables;
|
|
6548
|
+
}
|
|
6549
|
+
|
|
6550
|
+
_createClass(Resources, [{
|
|
6551
|
+
key: "getProjectInfosWithDeps",
|
|
6552
|
+
value: async function getProjectInfosWithDeps(projects) {
|
|
6553
|
+
const projectInfos = await this.projects.getProjectInfos(projects);
|
|
6554
|
+
const projectDeps = await this.projects.getProjectsDeps(projects);
|
|
6520
6555
|
const {
|
|
6521
|
-
|
|
6522
|
-
|
|
6523
|
-
|
|
6556
|
+
layers,
|
|
6557
|
+
tables
|
|
6558
|
+
} = await this.getDependencies(projectDeps, true, true);
|
|
6559
|
+
return {
|
|
6560
|
+
projects: projectInfos,
|
|
6561
|
+
deps: {
|
|
6562
|
+
layers,
|
|
6563
|
+
tables
|
|
6564
|
+
}
|
|
6565
|
+
};
|
|
6524
6566
|
}
|
|
6525
6567
|
}, {
|
|
6526
|
-
key: "
|
|
6527
|
-
value: async function
|
|
6568
|
+
key: "getLayerInfosWithDeps",
|
|
6569
|
+
value: async function getLayerInfosWithDeps(layers) {
|
|
6570
|
+
const layerInfos = await this.layers.getLayerInfos(layers);
|
|
6571
|
+
const layersDeps = await this.layers.getLayersDeps(layers);
|
|
6528
6572
|
const {
|
|
6529
|
-
|
|
6530
|
-
} = await this.
|
|
6531
|
-
return
|
|
6573
|
+
tables
|
|
6574
|
+
} = await this.getDependencies(layersDeps, false, true);
|
|
6575
|
+
return {
|
|
6576
|
+
layers: layerInfos,
|
|
6577
|
+
deps: {
|
|
6578
|
+
tables
|
|
6579
|
+
}
|
|
6580
|
+
};
|
|
6532
6581
|
}
|
|
6533
6582
|
}, {
|
|
6534
|
-
key: "
|
|
6535
|
-
value: async function
|
|
6583
|
+
key: "getDependencies",
|
|
6584
|
+
value: async function getDependencies(resourceDeps, pickLayers, pickTables) {
|
|
6536
6585
|
const {
|
|
6537
|
-
|
|
6538
|
-
|
|
6539
|
-
|
|
6540
|
-
|
|
6541
|
-
}, {
|
|
6542
|
-
key: "waitTaskCompleted",
|
|
6543
|
-
value: async function waitTaskCompleted(id) {
|
|
6544
|
-
return new Promise(async (resolve, reject) => {
|
|
6545
|
-
const taskProgress = await this.getTaskProgress(id);
|
|
6546
|
-
this.resolveTaskStatus(taskProgress, resolve, reject);
|
|
6586
|
+
tables,
|
|
6587
|
+
layers
|
|
6588
|
+
} = resourceDeps.reduce((acc, layerDep) => {
|
|
6589
|
+
const deps = layerDep.dependencies || [];
|
|
6547
6590
|
|
|
6548
|
-
|
|
6549
|
-
|
|
6550
|
-
|
|
6551
|
-
|
|
6552
|
-
|
|
6553
|
-
|
|
6554
|
-
|
|
6555
|
-
|
|
6556
|
-
|
|
6557
|
-
/* ServerTask */
|
|
6558
|
-
, taskResultCallback);
|
|
6559
|
-
this.resolveTaskStatus(taskProgress, resolve, reject);
|
|
6560
|
-
}
|
|
6561
|
-
};
|
|
6591
|
+
if (pickLayers) {
|
|
6592
|
+
const layerNames = this.getDependentNames(deps, exports.DependencyType.Layer);
|
|
6593
|
+
acc.layers.push(...layerNames);
|
|
6594
|
+
}
|
|
6595
|
+
|
|
6596
|
+
if (pickTables) {
|
|
6597
|
+
const tableNames = this.getDependentNames(deps, exports.DependencyType.Table);
|
|
6598
|
+
acc.tables.push(...tableNames);
|
|
6599
|
+
}
|
|
6562
6600
|
|
|
6563
|
-
|
|
6564
|
-
|
|
6565
|
-
,
|
|
6601
|
+
return acc;
|
|
6602
|
+
}, {
|
|
6603
|
+
tables: [],
|
|
6604
|
+
layers: []
|
|
6566
6605
|
});
|
|
6606
|
+
return {
|
|
6607
|
+
tables: await this.tables.getTableInfos(tables.filter(unique)),
|
|
6608
|
+
layers: await this.layers.getLayerInfos(layers.filter(unique))
|
|
6609
|
+
};
|
|
6567
6610
|
}
|
|
6568
6611
|
}, {
|
|
6569
|
-
key: "
|
|
6570
|
-
value: function
|
|
6571
|
-
|
|
6572
|
-
|
|
6573
|
-
|
|
6574
|
-
|
|
6575
|
-
|
|
6576
|
-
|
|
6577
|
-
|
|
6578
|
-
|
|
6579
|
-
|
|
6580
|
-
|
|
6581
|
-
|
|
6582
|
-
} else {
|
|
6583
|
-
throw new Error("Task was started with no testId");
|
|
6584
|
-
}
|
|
6612
|
+
key: "getDependentNames",
|
|
6613
|
+
value: function getDependentNames(deps, depType) {
|
|
6614
|
+
return deps.filter(_ref => {
|
|
6615
|
+
let {
|
|
6616
|
+
type
|
|
6617
|
+
} = _ref;
|
|
6618
|
+
return type === depType;
|
|
6619
|
+
}).map(_ref2 => {
|
|
6620
|
+
let {
|
|
6621
|
+
name
|
|
6622
|
+
} = _ref2;
|
|
6623
|
+
return name;
|
|
6624
|
+
}).filter(isString);
|
|
6585
6625
|
}
|
|
6586
6626
|
}]);
|
|
6587
6627
|
|
|
6588
|
-
return
|
|
6589
|
-
}(
|
|
6628
|
+
return Resources;
|
|
6629
|
+
}();
|
|
6590
6630
|
|
|
6591
6631
|
/**
|
|
6592
6632
|
* @title Spatial Processing Core API
|
|
@@ -7026,7 +7066,7 @@ let Styles = /*#__PURE__*/function (_StyleService) {
|
|
|
7026
7066
|
return _createClass(Styles);
|
|
7027
7067
|
}(StyleService);
|
|
7028
7068
|
|
|
7029
|
-
const _excluded$
|
|
7069
|
+
const _excluded$8 = ["name"],
|
|
7030
7070
|
_excluded2$4 = ["name"],
|
|
7031
7071
|
_excluded3$3 = ["name"],
|
|
7032
7072
|
_excluded4$2 = ["name"];
|
|
@@ -7208,7 +7248,7 @@ let TablesService = /*#__PURE__*/function (_Service) {
|
|
|
7208
7248
|
let {
|
|
7209
7249
|
name
|
|
7210
7250
|
} = _ref,
|
|
7211
|
-
query = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
7251
|
+
query = _objectWithoutPropertiesLoose(_ref, _excluded$8);
|
|
7212
7252
|
|
|
7213
7253
|
return this.http.get("/tables/" + name + "/data", query).json();
|
|
7214
7254
|
}
|
|
@@ -7608,7 +7648,7 @@ let Tools = /*#__PURE__*/function (_ToolsService) {
|
|
|
7608
7648
|
return _createClass(Tools);
|
|
7609
7649
|
}(ToolsService);
|
|
7610
7650
|
|
|
7611
|
-
const _excluded$
|
|
7651
|
+
const _excluded$9 = ["name", "z", "x", "y"];
|
|
7612
7652
|
/**
|
|
7613
7653
|
* @title Spatial Processing Core API
|
|
7614
7654
|
* @version 1.5.1.0
|
|
@@ -7646,7 +7686,7 @@ let VectorTileService = /*#__PURE__*/function (_Service) {
|
|
|
7646
7686
|
x,
|
|
7647
7687
|
y
|
|
7648
7688
|
} = _ref,
|
|
7649
|
-
query = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
7689
|
+
query = _objectWithoutPropertiesLoose(_ref, _excluded$9);
|
|
7650
7690
|
|
|
7651
7691
|
return this.http.get("/vt/" + name + "/" + z + "/" + x + "/" + y + ".pbf", query).then(() => {});
|
|
7652
7692
|
}
|
|
@@ -7723,7 +7763,12 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
|
|
|
7723
7763
|
} = httpOptions || {};
|
|
7724
7764
|
_this.http = http || new HttpClient(_extends({
|
|
7725
7765
|
prefixUrl: url,
|
|
7726
|
-
timeout: false
|
|
7766
|
+
timeout: false,
|
|
7767
|
+
retry: {
|
|
7768
|
+
methods: ["get", "post", "delete"],
|
|
7769
|
+
limit: 5,
|
|
7770
|
+
statusCodes: [401]
|
|
7771
|
+
}
|
|
7727
7772
|
}, httpOptions || {}, {
|
|
7728
7773
|
hooks: _extends({}, hooks || {}, {
|
|
7729
7774
|
beforeRequest: [request => {
|
|
@@ -7732,14 +7777,44 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
|
|
|
7732
7777
|
if (token) {
|
|
7733
7778
|
var _request$headers;
|
|
7734
7779
|
|
|
7735
|
-
(_request$headers = request.headers) == null ? void 0 : _request$headers.set(
|
|
7780
|
+
(_request$headers = request.headers) == null ? void 0 : _request$headers.set("Authorization", "Bearer " + (token || ""));
|
|
7736
7781
|
}
|
|
7737
7782
|
}, ...((_hooks$beforeRequest = hooks == null ? void 0 : hooks.beforeRequest) != null ? _hooks$beforeRequest : [])],
|
|
7738
|
-
|
|
7783
|
+
beforeRetry: [async _ref2 => {
|
|
7784
|
+
let {
|
|
7785
|
+
request,
|
|
7786
|
+
error,
|
|
7787
|
+
retryCount
|
|
7788
|
+
} = _ref2;
|
|
7789
|
+
|
|
7790
|
+
if (error instanceof ky.HTTPError && error.response.status === 401 && retryCount === 1) {
|
|
7791
|
+
try {
|
|
7792
|
+
const refreshToken = window.localStorage.getItem(STORAGE_REFRESH_TOKEN_KEY);
|
|
7793
|
+
|
|
7794
|
+
if (refreshToken) {
|
|
7795
|
+
var _request$headers2;
|
|
7796
|
+
|
|
7797
|
+
const refreshTokenResponse = await _this.account.refreshToken({
|
|
7798
|
+
refreshToken
|
|
7799
|
+
});
|
|
7800
|
+
|
|
7801
|
+
if (refreshTokenResponse) {
|
|
7802
|
+
window.localStorage.setItem(STORAGE_TOKEN_KEY, refreshTokenResponse.token);
|
|
7803
|
+
window.localStorage.setItem(STORAGE_REFRESH_TOKEN_KEY, refreshTokenResponse.refreshToken);
|
|
7804
|
+
}
|
|
7805
|
+
|
|
7806
|
+
(_request$headers2 = request.headers) == null ? void 0 : _request$headers2.set("Authorization", "Bearer " + (refreshTokenResponse.token || ""));
|
|
7807
|
+
}
|
|
7808
|
+
} catch (error) {
|
|
7809
|
+
throw new Error("Failed to refresh token");
|
|
7810
|
+
}
|
|
7811
|
+
}
|
|
7812
|
+
}],
|
|
7813
|
+
afterResponse: [(request, options, response) => {
|
|
7739
7814
|
const apiEvent = apiEventsByResponseStatus[response.status];
|
|
7740
7815
|
|
|
7741
7816
|
if (apiEvent) {
|
|
7742
|
-
_this.emit(apiEvent, errorHandler(new ky.HTTPError(response)));
|
|
7817
|
+
_this.emit(apiEvent, errorHandler(new ky.HTTPError(response, request, options)));
|
|
7743
7818
|
}
|
|
7744
7819
|
|
|
7745
7820
|
return response;
|
|
@@ -7759,7 +7834,6 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
|
|
|
7759
7834
|
_this.bulk = new BulkOperations(_this.http);
|
|
7760
7835
|
_this.security = new Security(_this.http, _this.account);
|
|
7761
7836
|
_this.notification = new Notification(_this.http, _assertThisInitialized(_this), wsKeepAlive);
|
|
7762
|
-
_this.scheduler = new Scheduler(_this.http);
|
|
7763
7837
|
_this.file = new FileUpload(_this.http);
|
|
7764
7838
|
_this.filters = new Filters(_this.http);
|
|
7765
7839
|
_this.import = new Import(_this.http);
|
|
@@ -7783,6 +7857,7 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
|
|
|
7783
7857
|
_this.catalog = new CatalogService(_this.http);
|
|
7784
7858
|
_this.queryToken = new QueryTokenAccessService(_this.http);
|
|
7785
7859
|
_this.dataSource = new DataSourceService(_this.http);
|
|
7860
|
+
_this.remoteTaskManager = new RemoteTaskManager(_this.http);
|
|
7786
7861
|
_this.names = new Names({
|
|
7787
7862
|
account: _this.account
|
|
7788
7863
|
});
|
|
@@ -7796,16 +7871,15 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
|
|
|
7796
7871
|
|
|
7797
7872
|
_createClass(Api, [{
|
|
7798
7873
|
key: "init",
|
|
7799
|
-
value: async function init(
|
|
7874
|
+
value: async function init(_ref3) {
|
|
7800
7875
|
let {
|
|
7801
7876
|
authParams,
|
|
7802
7877
|
authQueryParams,
|
|
7803
7878
|
connectWs,
|
|
7804
|
-
initScheduler,
|
|
7805
7879
|
fetchSettings,
|
|
7806
7880
|
fetchUser,
|
|
7807
7881
|
useJwt
|
|
7808
|
-
} =
|
|
7882
|
+
} = _ref3;
|
|
7809
7883
|
|
|
7810
7884
|
try {
|
|
7811
7885
|
await this.account.login(authParams, authQueryParams, useJwt);
|
|
@@ -7818,10 +7892,6 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
|
|
|
7818
7892
|
await this.connectWs();
|
|
7819
7893
|
}
|
|
7820
7894
|
|
|
7821
|
-
if (initScheduler) {
|
|
7822
|
-
await this.initScheduler();
|
|
7823
|
-
}
|
|
7824
|
-
|
|
7825
7895
|
if (fetchSettings) {
|
|
7826
7896
|
await this.clientSettings.fetchClientSettings({
|
|
7827
7897
|
urlPath: getFetchingUrlPath(this.urlPath)
|
|
@@ -7883,11 +7953,6 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
|
|
|
7883
7953
|
await this.security.reset();
|
|
7884
7954
|
this.emit(exports.ApiEvent.Unauthorized, null);
|
|
7885
7955
|
}
|
|
7886
|
-
}, {
|
|
7887
|
-
key: "initScheduler",
|
|
7888
|
-
value: function initScheduler() {
|
|
7889
|
-
return this.scheduler.init(this.notification);
|
|
7890
|
-
}
|
|
7891
7956
|
}, {
|
|
7892
7957
|
key: "defineUrlPath",
|
|
7893
7958
|
value: function defineUrlPath() {
|
|
@@ -7910,355 +7975,6 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
|
|
|
7910
7975
|
return Api;
|
|
7911
7976
|
}(eventEmitter.EventEmitter);
|
|
7912
7977
|
|
|
7913
|
-
function generateRandom(min, max) {
|
|
7914
|
-
if (min === void 0) {
|
|
7915
|
-
min = 0;
|
|
7916
|
-
}
|
|
7917
|
-
|
|
7918
|
-
if (max === void 0) {
|
|
7919
|
-
max = 100;
|
|
7920
|
-
}
|
|
7921
|
-
|
|
7922
|
-
let difference = max - min;
|
|
7923
|
-
let rand = Math.random();
|
|
7924
|
-
rand = Math.floor(rand * difference);
|
|
7925
|
-
rand = rand + min;
|
|
7926
|
-
return rand;
|
|
7927
|
-
}
|
|
7928
|
-
|
|
7929
|
-
let EvergisTileLayer = /*#__PURE__*/function (_TileLayer) {
|
|
7930
|
-
_inherits(EvergisTileLayer, _TileLayer);
|
|
7931
|
-
|
|
7932
|
-
var _super = /*#__PURE__*/_createSuper(EvergisTileLayer);
|
|
7933
|
-
|
|
7934
|
-
function EvergisTileLayer(configuration, api) {
|
|
7935
|
-
var _this;
|
|
7936
|
-
|
|
7937
|
-
_classCallCheck(this, EvergisTileLayer);
|
|
7938
|
-
|
|
7939
|
-
_this = _super.call(this, '', {
|
|
7940
|
-
crs: configuration.crs,
|
|
7941
|
-
opacity: configuration.opacity
|
|
7942
|
-
});
|
|
7943
|
-
_this.api = api;
|
|
7944
|
-
_this.name = configuration.name;
|
|
7945
|
-
_this.sourceUrl = configuration.sourceUrl;
|
|
7946
|
-
_this.subDomains = configuration.subDomains;
|
|
7947
|
-
return _this;
|
|
7948
|
-
}
|
|
7949
|
-
|
|
7950
|
-
_createClass(EvergisTileLayer, [{
|
|
7951
|
-
key: "getTileUrl",
|
|
7952
|
-
value: function getTileUrl(x, y, level) {
|
|
7953
|
-
var _this$subDomains;
|
|
7954
|
-
|
|
7955
|
-
const name = this.name;
|
|
7956
|
-
const subDomainIndex = this.subDomains ? generateRandom(0, ((_this$subDomains = this.subDomains) == null ? void 0 : _this$subDomains.length) - 1) : undefined;
|
|
7957
|
-
return this.sourceUrl ? (this.subDomains && subDomainIndex !== undefined ? this.sourceUrl.replace("{0}", this.subDomains[subDomainIndex]) : this.sourceUrl).replace("{1}", "" + level).replace("{2}", "" + x).replace("{3}", "" + y) : this.api.layers.getTilesLayerImage({
|
|
7958
|
-
x,
|
|
7959
|
-
y,
|
|
7960
|
-
z: level,
|
|
7961
|
-
name
|
|
7962
|
-
});
|
|
7963
|
-
}
|
|
7964
|
-
}]);
|
|
7965
|
-
|
|
7966
|
-
return EvergisTileLayer;
|
|
7967
|
-
}(TileLayer.TileLayer);
|
|
7968
|
-
|
|
7969
|
-
const _excluded$9 = ["name", "style", "condition", "dataFilterId", "crs"];
|
|
7970
|
-
let EvergisDynamicLayer = /*#__PURE__*/function (_DynamicLayer) {
|
|
7971
|
-
_inherits(EvergisDynamicLayer, _DynamicLayer);
|
|
7972
|
-
|
|
7973
|
-
var _super = /*#__PURE__*/_createSuper(EvergisDynamicLayer);
|
|
7974
|
-
|
|
7975
|
-
function EvergisDynamicLayer(_ref, api) {
|
|
7976
|
-
var _this;
|
|
7977
|
-
|
|
7978
|
-
let {
|
|
7979
|
-
name,
|
|
7980
|
-
style,
|
|
7981
|
-
condition,
|
|
7982
|
-
dataFilterId,
|
|
7983
|
-
crs = Crs.webMercator
|
|
7984
|
-
} = _ref,
|
|
7985
|
-
layerProps = _objectWithoutPropertiesLoose(_ref, _excluded$9);
|
|
7986
|
-
|
|
7987
|
-
_classCallCheck(this, EvergisDynamicLayer);
|
|
7988
|
-
|
|
7989
|
-
_this = _super.call(this, layerProps);
|
|
7990
|
-
_this.api = api;
|
|
7991
|
-
_this.name = name;
|
|
7992
|
-
_this.styleId = style;
|
|
7993
|
-
_this.conditionQuery = condition;
|
|
7994
|
-
_this.filterId = dataFilterId;
|
|
7995
|
-
_this.crs = crs;
|
|
7996
|
-
|
|
7997
|
-
_this.subscribeRedraw();
|
|
7998
|
-
|
|
7999
|
-
return _this;
|
|
8000
|
-
} // @ts-ignore TODO
|
|
8001
|
-
|
|
8002
|
-
|
|
8003
|
-
_createClass(EvergisDynamicLayer, [{
|
|
8004
|
-
key: "style",
|
|
8005
|
-
get: // @ts-ignore TODO
|
|
8006
|
-
function get() {
|
|
8007
|
-
return this.styleId;
|
|
8008
|
-
} // @ts-ignore TODO
|
|
8009
|
-
,
|
|
8010
|
-
set: function set(styleId) {
|
|
8011
|
-
this.styleId = styleId;
|
|
8012
|
-
this.forceUpdate();
|
|
8013
|
-
}
|
|
8014
|
-
}, {
|
|
8015
|
-
key: "condition",
|
|
8016
|
-
get: // @ts-ignore TODO
|
|
8017
|
-
function get() {
|
|
8018
|
-
return this.conditionQuery;
|
|
8019
|
-
} // @ts-ignore TODO
|
|
8020
|
-
,
|
|
8021
|
-
set: function set(condition) {
|
|
8022
|
-
this.conditionQuery = condition;
|
|
8023
|
-
this.forceUpdate();
|
|
8024
|
-
}
|
|
8025
|
-
}, {
|
|
8026
|
-
key: "dataFilterId",
|
|
8027
|
-
get: // @ts-ignore TODO
|
|
8028
|
-
function get() {
|
|
8029
|
-
return this.filterId;
|
|
8030
|
-
},
|
|
8031
|
-
set: function set(filterId) {
|
|
8032
|
-
this.filterId = filterId;
|
|
8033
|
-
this.forceUpdate();
|
|
8034
|
-
}
|
|
8035
|
-
}, {
|
|
8036
|
-
key: "getUrl",
|
|
8037
|
-
value: function getUrl(bbox, painter) {
|
|
8038
|
-
let imgWidth = painter.width;
|
|
8039
|
-
let imgHeight = painter.height;
|
|
8040
|
-
return this.api.layers.getLayerImage({
|
|
8041
|
-
name: this.name,
|
|
8042
|
-
extent: bbox.coordinates,
|
|
8043
|
-
size: [imgWidth, imgHeight],
|
|
8044
|
-
extentSr: bbox.crs.wkid,
|
|
8045
|
-
styleId: this.styleId,
|
|
8046
|
-
condition: this.conditionQuery,
|
|
8047
|
-
dataFilterId: this.filterId
|
|
8048
|
-
});
|
|
8049
|
-
}
|
|
8050
|
-
}, {
|
|
8051
|
-
key: "subscribeRedraw",
|
|
8052
|
-
value: function subscribeRedraw() {
|
|
8053
|
-
this.api.notification.on("service_update"
|
|
8054
|
-
/* ServiceUpdate */
|
|
8055
|
-
, e => {
|
|
8056
|
-
if ((e == null ? void 0 : e.data.layerName) === this.name) {
|
|
8057
|
-
this.forceUpdate();
|
|
8058
|
-
this.redraw();
|
|
8059
|
-
}
|
|
8060
|
-
});
|
|
8061
|
-
}
|
|
8062
|
-
}]);
|
|
8063
|
-
|
|
8064
|
-
return EvergisDynamicLayer;
|
|
8065
|
-
}(DynamicLayer.DynamicLayer);
|
|
8066
|
-
|
|
8067
|
-
const LayerServicesMap = {
|
|
8068
|
-
RemoteTileService: EvergisTileLayer,
|
|
8069
|
-
LocalTileService: EvergisTileLayer,
|
|
8070
|
-
PostgresLayerService: EvergisDynamicLayer,
|
|
8071
|
-
StyledFeatureLayer: EvergisDynamicLayer,
|
|
8072
|
-
CompositeService: null
|
|
8073
|
-
};
|
|
8074
|
-
|
|
8075
|
-
const isLayerType = type => Boolean(type && Object.keys(LayerServicesMap).includes(type));
|
|
8076
|
-
|
|
8077
|
-
const withServicesPrefix = layerInfo => _extends({}, layerInfo, {
|
|
8078
|
-
name: "services/" + layerInfo.name
|
|
8079
|
-
});
|
|
8080
|
-
|
|
8081
|
-
let LayersManager = /*#__PURE__*/function () {
|
|
8082
|
-
function LayersManager(layers, http) {
|
|
8083
|
-
_classCallCheck(this, LayersManager);
|
|
8084
|
-
|
|
8085
|
-
this.layers = layers;
|
|
8086
|
-
this.http = http;
|
|
8087
|
-
}
|
|
8088
|
-
|
|
8089
|
-
_createClass(LayersManager, [{
|
|
8090
|
-
key: "getLayerService",
|
|
8091
|
-
value: async function getLayerService(name) {
|
|
8092
|
-
let layerInfo = await this.getLayerInfo(name);
|
|
8093
|
-
const type = layerInfo.type;
|
|
8094
|
-
|
|
8095
|
-
if (!isLayerType(type)) {
|
|
8096
|
-
return;
|
|
8097
|
-
}
|
|
8098
|
-
|
|
8099
|
-
const ServiceCtor = LayerServicesMap[type];
|
|
8100
|
-
|
|
8101
|
-
if (ServiceCtor) {
|
|
8102
|
-
// @ts-ignore
|
|
8103
|
-
return new ServiceCtor(withServicesPrefix(layerInfo), this.http);
|
|
8104
|
-
} else {
|
|
8105
|
-
throw new Error("Constructor for service type: \"" + layerInfo.type + "\" not implemented");
|
|
8106
|
-
}
|
|
8107
|
-
}
|
|
8108
|
-
}, {
|
|
8109
|
-
key: "getLayerInfo",
|
|
8110
|
-
value: async function getLayerInfo(name) {
|
|
8111
|
-
try {
|
|
8112
|
-
return await this.layers.getLayerInfo(name);
|
|
8113
|
-
} catch (_unused) {
|
|
8114
|
-
throw new Error("Service with name: \"" + name + "\" not exists");
|
|
8115
|
-
}
|
|
8116
|
-
}
|
|
8117
|
-
}]);
|
|
8118
|
-
|
|
8119
|
-
return LayersManager;
|
|
8120
|
-
}();
|
|
8121
|
-
|
|
8122
|
-
var LayersZIndex;
|
|
8123
|
-
|
|
8124
|
-
(function (LayersZIndex) {
|
|
8125
|
-
LayersZIndex[LayersZIndex["BaseMaps"] = 0] = "BaseMaps";
|
|
8126
|
-
LayersZIndex[LayersZIndex["Layers"] = 1] = "Layers";
|
|
8127
|
-
})(LayersZIndex || (LayersZIndex = {}));
|
|
8128
|
-
|
|
8129
|
-
let SpatialProcessor = /*#__PURE__*/function (_Api) {
|
|
8130
|
-
_inherits(SpatialProcessor, _Api);
|
|
8131
|
-
|
|
8132
|
-
var _super = /*#__PURE__*/_createSuper(SpatialProcessor);
|
|
8133
|
-
|
|
8134
|
-
function SpatialProcessor(mapProps, apiParams, authParams) {
|
|
8135
|
-
var _this;
|
|
8136
|
-
|
|
8137
|
-
_classCallCheck(this, SpatialProcessor);
|
|
8138
|
-
|
|
8139
|
-
_this = _super.call(this, apiParams);
|
|
8140
|
-
_this.map = new _Map.Map();
|
|
8141
|
-
_this.painter = new DomPainter.DomPainter(_this.map);
|
|
8142
|
-
_this.mapProps = mapProps;
|
|
8143
|
-
_this.auth = authParams;
|
|
8144
|
-
_this.layersManager = new LayersManager(_this.layers, _this.http);
|
|
8145
|
-
return _this;
|
|
8146
|
-
}
|
|
8147
|
-
|
|
8148
|
-
_createClass(SpatialProcessor, [{
|
|
8149
|
-
key: "init",
|
|
8150
|
-
value: async function init() {
|
|
8151
|
-
await _get(_getPrototypeOf(SpatialProcessor.prototype), "init", this).call(this, {
|
|
8152
|
-
authParams: this.auth,
|
|
8153
|
-
connectWs: true,
|
|
8154
|
-
fetchSettings: true,
|
|
8155
|
-
initScheduler: true
|
|
8156
|
-
});
|
|
8157
|
-
const {
|
|
8158
|
-
baseService,
|
|
8159
|
-
services,
|
|
8160
|
-
projectName
|
|
8161
|
-
} = this.mapProps;
|
|
8162
|
-
|
|
8163
|
-
if (baseService) {
|
|
8164
|
-
await this.setBaseMap(baseService);
|
|
8165
|
-
}
|
|
8166
|
-
|
|
8167
|
-
if (services) {
|
|
8168
|
-
await Promise.all(services.map(service => this.addLayer(service)));
|
|
8169
|
-
}
|
|
8170
|
-
|
|
8171
|
-
if (projectName) {
|
|
8172
|
-
await this.loadProject(projectName);
|
|
8173
|
-
}
|
|
8174
|
-
|
|
8175
|
-
this.setMapProps();
|
|
8176
|
-
}
|
|
8177
|
-
}, {
|
|
8178
|
-
key: "reset",
|
|
8179
|
-
value: async function reset() {
|
|
8180
|
-
await this.account.logout();
|
|
8181
|
-
this.painter.wrapper = null;
|
|
8182
|
-
}
|
|
8183
|
-
}, {
|
|
8184
|
-
key: "addLayer",
|
|
8185
|
-
value: async function addLayer(name) {
|
|
8186
|
-
await this.insertLayer(name, LayersZIndex.Layers);
|
|
8187
|
-
}
|
|
8188
|
-
}, {
|
|
8189
|
-
key: "setBaseMap",
|
|
8190
|
-
value: async function setBaseMap(name) {
|
|
8191
|
-
await this.insertLayer(name, LayersZIndex.BaseMaps);
|
|
8192
|
-
}
|
|
8193
|
-
}, {
|
|
8194
|
-
key: "loadProject",
|
|
8195
|
-
value: async function loadProject(name) {
|
|
8196
|
-
const projectInfo = await this.projects.getProjectInfo(name);
|
|
8197
|
-
|
|
8198
|
-
if (!(projectInfo && projectInfo.content)) {
|
|
8199
|
-
return;
|
|
8200
|
-
}
|
|
8201
|
-
|
|
8202
|
-
const {
|
|
8203
|
-
baseMapName,
|
|
8204
|
-
items
|
|
8205
|
-
} = projectInfo.content;
|
|
8206
|
-
|
|
8207
|
-
if (baseMapName) {
|
|
8208
|
-
await this.setBaseMap(baseMapName);
|
|
8209
|
-
}
|
|
8210
|
-
|
|
8211
|
-
if (items) {
|
|
8212
|
-
const layers = items.map(item => item.name).filter(isString$1);
|
|
8213
|
-
await Promise.all(layers.map(layer => this.addLayer(layer)));
|
|
8214
|
-
}
|
|
8215
|
-
}
|
|
8216
|
-
}, {
|
|
8217
|
-
key: "insertLayer",
|
|
8218
|
-
value: async function insertLayer(name, index) {
|
|
8219
|
-
const service = await this.layersManager.getLayerService(name);
|
|
8220
|
-
|
|
8221
|
-
if (service) {
|
|
8222
|
-
// @ts-ignore
|
|
8223
|
-
this.map.insertLayer(service.layer, index);
|
|
8224
|
-
}
|
|
8225
|
-
}
|
|
8226
|
-
}, {
|
|
8227
|
-
key: "setMapProps",
|
|
8228
|
-
value: function setMapProps() {
|
|
8229
|
-
const {
|
|
8230
|
-
position,
|
|
8231
|
-
centerPoint,
|
|
8232
|
-
mapWrapper,
|
|
8233
|
-
resolution
|
|
8234
|
-
} = this.mapProps;
|
|
8235
|
-
|
|
8236
|
-
if (position) {
|
|
8237
|
-
this.map.position = position;
|
|
8238
|
-
} else if (centerPoint) {
|
|
8239
|
-
this.map.centerPoint = centerPoint;
|
|
8240
|
-
}
|
|
8241
|
-
|
|
8242
|
-
if (resolution) this.map.resolution = resolution;
|
|
8243
|
-
if (mapWrapper) this.painter.wrapper = mapWrapper;
|
|
8244
|
-
}
|
|
8245
|
-
}]);
|
|
8246
|
-
|
|
8247
|
-
return SpatialProcessor;
|
|
8248
|
-
}(Api);
|
|
8249
|
-
|
|
8250
|
-
const isString$1 = s => s !== undefined;
|
|
8251
|
-
|
|
8252
|
-
function isEvergisDynamicLayer(layer) {
|
|
8253
|
-
return layer instanceof EvergisDynamicLayer;
|
|
8254
|
-
}
|
|
8255
|
-
function isEvergisTileLayer(layer) {
|
|
8256
|
-
return layer instanceof EvergisTileLayer;
|
|
8257
|
-
}
|
|
8258
|
-
function isFeatureLayer(layer) {
|
|
8259
|
-
return layer instanceof sgis.FeatureLayer;
|
|
8260
|
-
}
|
|
8261
|
-
|
|
8262
7978
|
/* eslint-disable */
|
|
8263
7979
|
|
|
8264
7980
|
(function (AggregationFunction) {
|
|
@@ -8526,6 +8242,7 @@ function isFeatureLayer(layer) {
|
|
|
8526
8242
|
PolicyType["MaxFeaturesInOneTable"] = "MaxFeaturesInOneTable";
|
|
8527
8243
|
PolicyType["MaxObjectsToExport"] = "MaxObjectsToExport";
|
|
8528
8244
|
PolicyType["MaxUploadContentSize"] = "MaxUploadContentSize";
|
|
8245
|
+
PolicyType["MaxEqlQueryParametersValues"] = "MaxEqlQueryParametersValues";
|
|
8529
8246
|
})(exports.PolicyType || (exports.PolicyType = {}));
|
|
8530
8247
|
|
|
8531
8248
|
(function (Quality) {
|
|
@@ -8550,6 +8267,7 @@ function isFeatureLayer(layer) {
|
|
|
8550
8267
|
ResourceType["File"] = "file";
|
|
8551
8268
|
ResourceType["Feature"] = "feature";
|
|
8552
8269
|
ResourceType["Tag"] = "tag";
|
|
8270
|
+
ResourceType["DataSource"] = "datasource";
|
|
8553
8271
|
})(exports.ResourceType || (exports.ResourceType = {}));
|
|
8554
8272
|
|
|
8555
8273
|
(function (ResourceTypeFilter) {
|
|
@@ -8574,17 +8292,6 @@ function isFeatureLayer(layer) {
|
|
|
8574
8292
|
ResponseType["Token"] = "token";
|
|
8575
8293
|
})(exports.ResponseType || (exports.ResponseType = {}));
|
|
8576
8294
|
|
|
8577
|
-
(function (ServerTaskStatus) {
|
|
8578
|
-
ServerTaskStatus["None"] = "None";
|
|
8579
|
-
ServerTaskStatus["Scheduled"] = "Scheduled";
|
|
8580
|
-
ServerTaskStatus["Planning"] = "Planning";
|
|
8581
|
-
ServerTaskStatus["Executing"] = "Executing";
|
|
8582
|
-
ServerTaskStatus["Completed"] = "Completed";
|
|
8583
|
-
ServerTaskStatus["Failed"] = "Failed";
|
|
8584
|
-
ServerTaskStatus["Canceled"] = "Canceled";
|
|
8585
|
-
ServerTaskStatus["Timeout"] = "Timeout";
|
|
8586
|
-
})(exports.ServerTaskStatus || (exports.ServerTaskStatus = {}));
|
|
8587
|
-
|
|
8588
8295
|
(function (SimplifyType) {
|
|
8589
8296
|
SimplifyType["Basic"] = "Basic";
|
|
8590
8297
|
SimplifyType["PreserveTopology"] = "PreserveTopology";
|
|
@@ -8598,11 +8305,6 @@ function isFeatureLayer(layer) {
|
|
|
8598
8305
|
StringSubType["Attachments"] = "Attachments";
|
|
8599
8306
|
})(exports.StringSubType || (exports.StringSubType = {}));
|
|
8600
8307
|
|
|
8601
|
-
(function (TaskGroup) {
|
|
8602
|
-
TaskGroup["My"] = "my";
|
|
8603
|
-
TaskGroup["All"] = "all";
|
|
8604
|
-
})(exports.TaskGroup || (exports.TaskGroup = {}));
|
|
8605
|
-
|
|
8606
8308
|
(function (TextAlignment) {
|
|
8607
8309
|
TextAlignment["Right"] = "right";
|
|
8608
8310
|
TextAlignment["Left"] = "left";
|
|
@@ -8616,6 +8318,31 @@ function isFeatureLayer(layer) {
|
|
|
8616
8318
|
TextVerticalAlignment["Middle"] = "middle";
|
|
8617
8319
|
})(exports.TextVerticalAlignment || (exports.TextVerticalAlignment = {}));
|
|
8618
8320
|
|
|
8321
|
+
(function (WorkerMethodType) {
|
|
8322
|
+
WorkerMethodType["Task"] = "Task";
|
|
8323
|
+
WorkerMethodType["Rest"] = "Rest";
|
|
8324
|
+
WorkerMethodType["Both"] = "Both";
|
|
8325
|
+
})(exports.WorkerMethodType || (exports.WorkerMethodType = {}));
|
|
8326
|
+
|
|
8327
|
+
(function (WorkerSettingsFieldType) {
|
|
8328
|
+
WorkerSettingsFieldType["Integer"] = "Integer";
|
|
8329
|
+
WorkerSettingsFieldType["Double"] = "Double";
|
|
8330
|
+
WorkerSettingsFieldType["String"] = "String";
|
|
8331
|
+
WorkerSettingsFieldType["Extent"] = "Extent";
|
|
8332
|
+
WorkerSettingsFieldType["Geometry"] = "Geometry";
|
|
8333
|
+
WorkerSettingsFieldType["IntergerArray"] = "IntergerArray";
|
|
8334
|
+
WorkerSettingsFieldType["DoubleArray"] = "DoubleArray";
|
|
8335
|
+
WorkerSettingsFieldType["StringArray"] = "StringArray";
|
|
8336
|
+
WorkerSettingsFieldType["Boolean"] = "Boolean";
|
|
8337
|
+
WorkerSettingsFieldType["SourceEql"] = "SourceEql";
|
|
8338
|
+
WorkerSettingsFieldType["Layer"] = "Layer";
|
|
8339
|
+
WorkerSettingsFieldType["Table"] = "Table";
|
|
8340
|
+
WorkerSettingsFieldType["Folder"] = "Folder";
|
|
8341
|
+
WorkerSettingsFieldType["Json"] = "Json";
|
|
8342
|
+
WorkerSettingsFieldType["Expression"] = "Expression";
|
|
8343
|
+
WorkerSettingsFieldType["Expressions"] = "Expressions";
|
|
8344
|
+
})(exports.WorkerSettingsFieldType || (exports.WorkerSettingsFieldType = {}));
|
|
8345
|
+
|
|
8619
8346
|
Object.defineProperty(exports, 'HTTPError', {
|
|
8620
8347
|
enumerable: true,
|
|
8621
8348
|
get: function () {
|
|
@@ -8635,8 +8362,6 @@ exports.BulkOperations = BulkOperations;
|
|
|
8635
8362
|
exports.Cameras = Cameras;
|
|
8636
8363
|
exports.ClientSettings = ClientSettings;
|
|
8637
8364
|
exports.Eql = Eql;
|
|
8638
|
-
exports.EvergisDynamicLayer = EvergisDynamicLayer;
|
|
8639
|
-
exports.EvergisTileLayer = EvergisTileLayer;
|
|
8640
8365
|
exports.External = External;
|
|
8641
8366
|
exports.Feedback = Feedback;
|
|
8642
8367
|
exports.FileUpload = FileUpload;
|
|
@@ -8648,7 +8373,6 @@ exports.HttpClient = HttpClient;
|
|
|
8648
8373
|
exports.IceRouter = IceRouter;
|
|
8649
8374
|
exports.Import = Import;
|
|
8650
8375
|
exports.Layers = Layers;
|
|
8651
|
-
exports.LayersManager = LayersManager;
|
|
8652
8376
|
exports.Names = Names;
|
|
8653
8377
|
exports.Namespace = Namespace;
|
|
8654
8378
|
exports.Notification = Notification;
|
|
@@ -8656,13 +8380,12 @@ exports.NotificationEvent = NotificationEvent;
|
|
|
8656
8380
|
exports.PortalSettings = PortalSettings;
|
|
8657
8381
|
exports.Print = Print;
|
|
8658
8382
|
exports.Projects = Projects;
|
|
8383
|
+
exports.RemoteTaskManager = RemoteTaskManager;
|
|
8659
8384
|
exports.ResourceCatalog = ResourceCatalog;
|
|
8660
8385
|
exports.Resources = Resources;
|
|
8661
8386
|
exports.STORAGE_REFRESH_TOKEN_KEY = STORAGE_REFRESH_TOKEN_KEY;
|
|
8662
8387
|
exports.STORAGE_TOKEN_KEY = STORAGE_TOKEN_KEY;
|
|
8663
|
-
exports.Scheduler = Scheduler;
|
|
8664
8388
|
exports.Security = Security;
|
|
8665
|
-
exports.SpatialProcessor = SpatialProcessor;
|
|
8666
8389
|
exports.Statistic = Statistic;
|
|
8667
8390
|
exports.Styles = Styles;
|
|
8668
8391
|
exports.Tables = Tables;
|
|
@@ -8673,12 +8396,8 @@ exports.errorHandler = errorHandler;
|
|
|
8673
8396
|
exports.formDataFromFile = formDataFromFile;
|
|
8674
8397
|
exports.generateId = generateId;
|
|
8675
8398
|
exports.getFetchingUrlPath = getFetchingUrlPath;
|
|
8676
|
-
exports.isEvergisDynamicLayer = isEvergisDynamicLayer;
|
|
8677
|
-
exports.isEvergisTileLayer = isEvergisTileLayer;
|
|
8678
|
-
exports.isFeatureLayer = isFeatureLayer;
|
|
8679
8399
|
exports.isHTTPError = isHTTPError;
|
|
8680
8400
|
exports.isHandledError = isHandledError;
|
|
8681
|
-
exports.isLayer = isLayer;
|
|
8682
8401
|
exports.isProjectContentItems = isProjectContentItems;
|
|
8683
8402
|
exports.isString = isString;
|
|
8684
8403
|
exports.isTileLayerService = isTileLayerService;
|