@evergis/api 3.0.166 → 3.0.167
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 +2 -0
- package/dist/__generated__/LayersService.d.ts +13 -2
- package/dist/__generated__/ProjectsService.d.ts +2 -2
- package/dist/__generated__/SpatialReferencesService.d.ts +41 -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 +52 -7
- package/dist/api.cjs.development.js +92 -2
- 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 +92 -2
- package/dist/api.esm.js.map +1 -1
- package/dist/layers/EvergisDynamicLayer.d.ts +3 -1
- package/package.json +2 -2
package/dist/Api.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import { HubConnection } from '@microsoft/signalr';
|
|
|
3
3
|
import { Options as KyOptions } from 'ky';
|
|
4
4
|
import { LoginDc } from './__generated__/data-contracts';
|
|
5
5
|
import { HttpClient } from './__generated__/HttpClient';
|
|
6
|
+
import { SpatialReferencesService } from './__generated__/SpatialReferencesService';
|
|
6
7
|
import { UniversalSearchService } from './__generated__/UniversalSearchService';
|
|
7
8
|
import { Account, AccountPreview, BulkOperations, Cameras, ClientSettings, External, Feedback, FileUpload, Filters, General, Geocode, IceRouter, Import, Layers, Names, Namespace, Notification, PortalSettings, Projects, ResourceCatalog, Resources, Scheduler, Security, Statistic, Styles, Tables, Tools, VectorTiles } from './services';
|
|
8
9
|
import { Print } from './services/Print';
|
|
@@ -58,6 +59,7 @@ export declare class Api extends EventEmitter {
|
|
|
58
59
|
readonly snappingHub: HubConnection | null;
|
|
59
60
|
readonly vectorTiles: VectorTiles;
|
|
60
61
|
readonly universalSearch: UniversalSearchService;
|
|
62
|
+
readonly spatialReference: SpatialReferencesService;
|
|
61
63
|
constructor({ url, wsUrl, wsKeepAlive, snappingHubUrl, http, urlPath, httpOptions, }: ApiParams);
|
|
62
64
|
init({ authParams, connectWs, initScheduler, fetchSettings, fetchUser, }: {
|
|
63
65
|
authParams?: LoginDc;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AccessControlListDc, AggregateAttributeParams, AggregationDataResultDc, AttributeDistinctsDc, BulkOperationResultDc, ClassifyDc, ClassifyParams, CompositeServiceConfigurationDc, CompositeServiceInfoDc, CreateFeaturesPayload, DeleteByConditionParams, DeleteFeatureParams, DeleteFeaturesParams, DeleteResourcesParams, DistinctsParams, EditAttributesInfoDc, EnvelopeDc, ExpressionValidationResultDc, FeatureDc, FeatureLayerServiceInfoDc, FeaturesContainsParams, FeatureSelectionDc, FeaturesListDc, FileUploadResponse, GetByGeometryGetParams, GetByGeometryParams, GetByGeometryPostParams, GetByGeometryPostPayload, GetByIdParams, GetFeaturesParams, GetFilteredFeaturesCountParams, GetLayerExtentParams, GetLayerImageParams, GetLayersInfoParams, GetLayersListParams,
|
|
1
|
+
import { AccessControlListDc, AggregateAttributeParams, AggregationDataResultDc, AttributeDistinctsDc, BulkOperationResultDc, ClassifyDc, ClassifyParams, CompositeServiceConfigurationDc, CompositeServiceInfoDc, CreateFeaturesPayload, DeleteByConditionParams, DeleteFeatureParams, DeleteFeaturesParams, DeleteResourcesParams, DistinctsParams, EditAttributesInfoDc, EnvelopeDc, ExpressionValidationResultDc, FeatureDc, FeatureLayerServiceInfoDc, FeaturesContainsParams, FeatureSelectionDc, FeaturesListDc, FileUploadResponse, GetByGeometryGetParams, GetByGeometryParams, GetByGeometryPostParams, GetByGeometryPostPayload, GetByIdParams, GetFeaturesParametersDc, GetFeaturesParams, GetFilteredFeaturesCountParams, GetLayerExtentParams, GetLayerImageParams, GetLayersInfoParams, GetLayersListParams, GetRasterMetaParams6, GetTilesLayerImageParams, LayerUpdateInfo, LayerUpdateInfoDc, LinearServiceConfigurationDc, LocalTileServiceConfigurationDc, NetCdfMetaDc, PbfServiceConfigurationDc, PbfServiceInfoDc, PostgresLayerServiceConfigurationDc, PostgresTileCatalogServiceConfigurationDc, ProxyServiceInfoDc, PublishProxyServicePayload, QueryLayerServiceConfigurationDc, QueryLayerServiceInfoDc, RasterMetaDc, RemoteTileServiceConfigurationDc, RemoteTileServiceInfo, RemoteTileServiceInfoDc, ResourceDependenciesDc, ResourceInfoDc, RouteFeatureDc, RouteServiceConfigurationDc, SelectFeaturesParams, ServiceInfoDc, SetPermissionsBatchPayload, SetPreviewPayload, StyledLayerServiceConfigurationDc, SubtractParams, SubtractPayload, TileServiceInfoDc, UniteParams, UnitePayload, UpdateFeaturePayload, UpdateProxyServicePayload, ValidateExpressionParams } from './data-contracts';
|
|
2
2
|
import { Service } from './Service';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
@@ -297,6 +297,17 @@ export declare class LayersService extends Service {
|
|
|
297
297
|
*
|
|
298
298
|
* @tags Layers
|
|
299
299
|
* @name GetFeatures
|
|
300
|
+
* @operationId LayersController_GetFeaturesQuery
|
|
301
|
+
* @summary Returns list of the layer features.
|
|
302
|
+
* @request POST:/layers/{name}/features/query
|
|
303
|
+
* @response `200` Success
|
|
304
|
+
*/
|
|
305
|
+
getFeaturesQuery(name: string, data: GetFeaturesParametersDc): Promise<import("./data-contracts").PagedListFeatureDc>;
|
|
306
|
+
/**
|
|
307
|
+
* No description
|
|
308
|
+
*
|
|
309
|
+
* @tags Layers
|
|
310
|
+
* @name GetFeatures1
|
|
300
311
|
* @operationId LayersController_GetFeatures
|
|
301
312
|
* @summary Returns list of the layer features.
|
|
302
313
|
* @request GET:/layers/{name}/features
|
|
@@ -556,7 +567,7 @@ export declare class LayersService extends Service {
|
|
|
556
567
|
* @request GET:/layers/{name}/{id}/metadata
|
|
557
568
|
* @response `200` Success
|
|
558
569
|
*/
|
|
559
|
-
getRasterMeta({ name, id, ...query }:
|
|
570
|
+
getRasterMeta({ name, id, ...query }: GetRasterMetaParams6): Promise<(RasterMetaDc | NetCdfMetaDc)[]>;
|
|
560
571
|
/**
|
|
561
572
|
* No description
|
|
562
573
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AccessControlListDc, BulkOperationResultDc,
|
|
1
|
+
import { AccessControlListDc, BulkOperationResultDc, DeleteResourcesParams7, ExtendedProjectInfoDc, ExtendedProjectLayersInfo, FileUploadResponse, GetProjectsInfoParams, GetProjectsListParams, PagedListProjectInfoDc, ResourceDependenciesDc, SetPermissionsBatchBody, SetPreviewBody } from './data-contracts';
|
|
2
2
|
import { Service } from './Service';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
@@ -49,7 +49,7 @@ export declare class ProjectsService extends Service {
|
|
|
49
49
|
* @request DELETE:/projects
|
|
50
50
|
* @response `200` Success
|
|
51
51
|
*/
|
|
52
|
-
deleteResources(query:
|
|
52
|
+
deleteResources(query: DeleteResourcesParams7): Promise<BulkOperationResultDc[]>;
|
|
53
53
|
/**
|
|
54
54
|
* No description
|
|
55
55
|
*
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { Service } from './Service';
|
|
2
|
+
/**
|
|
3
|
+
* @title Spatial Processing Core API
|
|
4
|
+
* @version 1.0.0
|
|
5
|
+
* @baseUrl /sp
|
|
6
|
+
*/
|
|
7
|
+
export declare class SpatialReferencesService extends Service {
|
|
8
|
+
/**
|
|
9
|
+
* No description
|
|
10
|
+
*
|
|
11
|
+
* @tags SpatialReferences
|
|
12
|
+
* @name GetAvailiableCs
|
|
13
|
+
* @operationId SpatialReferencesController_GetAvailiableCsAsync
|
|
14
|
+
* @summary Returns list of available spatial references.
|
|
15
|
+
* @request GET:/srs/list
|
|
16
|
+
* @response `200` Success
|
|
17
|
+
*/
|
|
18
|
+
getAvailiableCs(): Promise<Record<string, string>>;
|
|
19
|
+
/**
|
|
20
|
+
* No description
|
|
21
|
+
*
|
|
22
|
+
* @tags SpatialReferences
|
|
23
|
+
* @name GetProj4Representation
|
|
24
|
+
* @operationId SpatialReferencesController_GetProj4RepresentationAsync
|
|
25
|
+
* @summary Returns a WKT representation of spatial reference.
|
|
26
|
+
* @request GET:/srs/{name}/proj4
|
|
27
|
+
* @response `200` Success
|
|
28
|
+
*/
|
|
29
|
+
getProj4Representation(name: string): Promise<string>;
|
|
30
|
+
/**
|
|
31
|
+
* No description
|
|
32
|
+
*
|
|
33
|
+
* @tags SpatialReferences
|
|
34
|
+
* @name GetWktRepresentation
|
|
35
|
+
* @operationId SpatialReferencesController_GetWktRepresentationAsync
|
|
36
|
+
* @summary Returns a WKT representation of spatial reference.
|
|
37
|
+
* @request GET:/srs/{name}/wkt
|
|
38
|
+
* @response `200` Success
|
|
39
|
+
*/
|
|
40
|
+
getWktRepresentation(name: string): Promise<string>;
|
|
41
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ClassifyDc,
|
|
1
|
+
import { ClassifyDc, ClassifyParams4, StatisticsDbParams, StatisticsDc, SumOfProductParams } from './data-contracts';
|
|
2
2
|
import { Service } from './Service';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
@@ -27,7 +27,7 @@ export declare class StatisticService extends Service {
|
|
|
27
27
|
* @request GET:/statistics/classify
|
|
28
28
|
* @response `200` Success
|
|
29
29
|
*/
|
|
30
|
-
classify(query:
|
|
30
|
+
classify(query: ClassifyParams4): Promise<ClassifyDc>;
|
|
31
31
|
/**
|
|
32
32
|
* No description
|
|
33
33
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AccessControlListDc, BulkOperationResultDc,
|
|
1
|
+
import { AccessControlListDc, BulkOperationResultDc, DeleteResourcesParams8, DeleteTableDataParams, DetailedTableInfoDc, FileUploadResponse, GetTableDataParams, GetTableListParams, GetTablesInfoParams, GetUniqueDataRowsParams, MapTableInfoDc, MapTableParams, PagedListIEnumerable1, PagedListTableInfoDc, ResourceDependenciesDc, SetPermissionsBatchInput, SetPreviewInput, UpdateTableDataParams, UpdateTableDataPayload, UpdateTableDc, WriteTableDataPayload } from './data-contracts';
|
|
2
2
|
import { Service } from './Service';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
@@ -49,7 +49,7 @@ export declare class TablesService extends Service {
|
|
|
49
49
|
* @request DELETE:/tables
|
|
50
50
|
* @response `200` Success
|
|
51
51
|
*/
|
|
52
|
-
deleteResources(query:
|
|
52
|
+
deleteResources(query: DeleteResourcesParams8): Promise<BulkOperationResultDc[]>;
|
|
53
53
|
/**
|
|
54
54
|
* No description
|
|
55
55
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GetCapabilities1Params,
|
|
1
|
+
import { GetCapabilities1Params, GetCapabilitiesParams1, GetFeatureInfoParams, GetLegendGraphicParams, GetMapParams } from './data-contracts';
|
|
2
2
|
import { Service } from './Service';
|
|
3
3
|
/**
|
|
4
4
|
* @title Spatial Processing Core API
|
|
@@ -16,7 +16,7 @@ export declare class WmsServerService extends Service {
|
|
|
16
16
|
* @request GET:/wms#REQUEST=GetCapabilities
|
|
17
17
|
* @response `200` Success
|
|
18
18
|
*/
|
|
19
|
-
getCapabilities(query:
|
|
19
|
+
getCapabilities(query: GetCapabilitiesParams1): Promise<void>;
|
|
20
20
|
/**
|
|
21
21
|
* No description
|
|
22
22
|
*
|
|
@@ -2305,6 +2305,42 @@ export declare enum GeometryType {
|
|
|
2305
2305
|
Envelope = "envelope",
|
|
2306
2306
|
Multipoint = "multipoint"
|
|
2307
2307
|
}
|
|
2308
|
+
/**
|
|
2309
|
+
* Get features paramaters.
|
|
2310
|
+
*/
|
|
2311
|
+
export interface GetFeaturesParametersDc {
|
|
2312
|
+
/** Sets features filtering query. */
|
|
2313
|
+
query?: string;
|
|
2314
|
+
/** Id of override data filter to apply to the layer. If not set, the default filter is used. */
|
|
2315
|
+
dataFilterId?: string;
|
|
2316
|
+
/**
|
|
2317
|
+
* Features count have to skip.
|
|
2318
|
+
* @format int32
|
|
2319
|
+
*/
|
|
2320
|
+
offset?: number;
|
|
2321
|
+
/**
|
|
2322
|
+
* Features limit per response.
|
|
2323
|
+
* @format int32
|
|
2324
|
+
*/
|
|
2325
|
+
limit?: number;
|
|
2326
|
+
/**
|
|
2327
|
+
* Spatial reference of returned features.
|
|
2328
|
+
* @format int32
|
|
2329
|
+
*/
|
|
2330
|
+
wkid?: number;
|
|
2331
|
+
/** If set to true, the geometry will not be returned for features. */
|
|
2332
|
+
withGeom?: boolean;
|
|
2333
|
+
/**
|
|
2334
|
+
* Comma separated list of attributes by which to sort the resulting feature list.
|
|
2335
|
+
* If the attribute name is preceded with the "-" sign, sorting by this attribute will be
|
|
2336
|
+
* in descending order.
|
|
2337
|
+
*/
|
|
2338
|
+
sort?: string[];
|
|
2339
|
+
/** Comma separated list of features ids. */
|
|
2340
|
+
ids?: string[];
|
|
2341
|
+
/** Comma separated list of attributes to be returned. If not set, all attributes are returned. */
|
|
2342
|
+
attributes?: string[];
|
|
2343
|
+
}
|
|
2308
2344
|
/**
|
|
2309
2345
|
* Map element data contract.
|
|
2310
2346
|
*/
|
|
@@ -3917,6 +3953,7 @@ export interface ProxyServiceInfoDc {
|
|
|
3917
3953
|
*/
|
|
3918
3954
|
export declare type QueryLayerServiceConfigurationDc = ServiceConfigurationBaseDc & {
|
|
3919
3955
|
eql?: string;
|
|
3956
|
+
eqlParameters?: Record<string, QueryLayerServiceEqlParameterConfigurationDc>;
|
|
3920
3957
|
srid?: number;
|
|
3921
3958
|
geometryType?: AttributeType;
|
|
3922
3959
|
attributesConfiguration: EqlAttributesConfigurationDc;
|
|
@@ -3926,6 +3963,10 @@ export declare type QueryLayerServiceConfigurationDc = ServiceConfigurationBaseD
|
|
|
3926
3963
|
extentOffset?: number;
|
|
3927
3964
|
simplify?: SimplifyInfoDc;
|
|
3928
3965
|
};
|
|
3966
|
+
/**
|
|
3967
|
+
* EQL parameter configuration.
|
|
3968
|
+
*/
|
|
3969
|
+
export declare type QueryLayerServiceEqlParameterConfigurationDc = object;
|
|
3929
3970
|
/**
|
|
3930
3971
|
* Service info for a feature layer service.
|
|
3931
3972
|
*/
|
|
@@ -4648,6 +4689,8 @@ export interface ServiceConfigurationBaseDc {
|
|
|
4648
4689
|
invisibleInCatalog?: boolean;
|
|
4649
4690
|
/** Client data storage. Storage isn't used by server. */
|
|
4650
4691
|
clientData?: any;
|
|
4692
|
+
/** Card configuration. Storage isn't used by server. */
|
|
4693
|
+
cardConfiguration?: any;
|
|
4651
4694
|
}
|
|
4652
4695
|
/**
|
|
4653
4696
|
* Description of a service in the Spatial Processor.
|
|
@@ -4883,7 +4926,7 @@ export interface SimpleEndingDc {
|
|
|
4883
4926
|
}
|
|
4884
4927
|
/**
|
|
4885
4928
|
* Polyline symbol the parameters of endings of which are calculated based on the parameters of the symbol stoke.
|
|
4886
|
-
|
|
4929
|
+
|
|
4887
4930
|
If the ending is set to be other then None, the size and color of the ending will be calculated based on the
|
|
4888
4931
|
stroke width and color of the symbol.
|
|
4889
4932
|
*/
|
|
@@ -6040,8 +6083,6 @@ export interface UserInfoDc {
|
|
|
6040
6083
|
export interface UserOrRoleDc {
|
|
6041
6084
|
/** Name. */
|
|
6042
6085
|
name?: string;
|
|
6043
|
-
/** Photo. */
|
|
6044
|
-
photo?: string;
|
|
6045
6086
|
/** true if item is role otherwise false. */
|
|
6046
6087
|
isRole?: boolean;
|
|
6047
6088
|
/** User own role. */
|
|
@@ -6953,7 +6994,7 @@ export interface ValidateExpressionParams {
|
|
|
6953
6994
|
/** Layer name. */
|
|
6954
6995
|
layerName: string;
|
|
6955
6996
|
}
|
|
6956
|
-
export interface
|
|
6997
|
+
export interface GetRasterMetaParams6 {
|
|
6957
6998
|
/**
|
|
6958
6999
|
* Min value for build histogram.
|
|
6959
7000
|
* @format double
|
|
@@ -7080,7 +7121,7 @@ export interface GetProjectsListParams {
|
|
|
7080
7121
|
tags?: string[];
|
|
7081
7122
|
}
|
|
7082
7123
|
export declare type SetPermissionsBatchBody = ResourceAclDc[];
|
|
7083
|
-
export interface
|
|
7124
|
+
export interface DeleteResourcesParams7 {
|
|
7084
7125
|
/** Resource names. */
|
|
7085
7126
|
names?: string[];
|
|
7086
7127
|
}
|
|
@@ -7326,7 +7367,7 @@ export interface StatisticsDbParams {
|
|
|
7326
7367
|
*/
|
|
7327
7368
|
types?: AggregationFunction[];
|
|
7328
7369
|
}
|
|
7329
|
-
export interface
|
|
7370
|
+
export interface ClassifyParams4 {
|
|
7330
7371
|
/** Layer name. */
|
|
7331
7372
|
name?: string;
|
|
7332
7373
|
/** Attribute name. */
|
|
@@ -7459,6 +7500,10 @@ export interface GetTableListParams {
|
|
|
7459
7500
|
acl?: string;
|
|
7460
7501
|
}
|
|
7461
7502
|
export declare type SetPermissionsBatchInput = ResourceAclDc[];
|
|
7503
|
+
export interface DeleteResourcesParams8 {
|
|
7504
|
+
/** Resource names. */
|
|
7505
|
+
names?: string[];
|
|
7506
|
+
}
|
|
7462
7507
|
export interface GetTablesInfoParams {
|
|
7463
7508
|
/** Table names. */
|
|
7464
7509
|
tableNames?: string[];
|
|
@@ -7612,7 +7657,7 @@ export interface GetPublicCapabilitiesParams {
|
|
|
7612
7657
|
/** When omitted or not supported by server, server shall return service metadata document using the MIME type "text/xml". */
|
|
7613
7658
|
AcceptFormats?: string[];
|
|
7614
7659
|
}
|
|
7615
|
-
export interface
|
|
7660
|
+
export interface GetCapabilitiesParams1 {
|
|
7616
7661
|
/** Output format of service metadata. */
|
|
7617
7662
|
Format?: string;
|
|
7618
7663
|
/** Must be WMS. */
|
|
@@ -13,6 +13,7 @@ var nanoid = require('nanoid');
|
|
|
13
13
|
var DomPainter = require('@evergis/sgis/es/painters/DomPainter/DomPainter');
|
|
14
14
|
var _Map = require('@evergis/sgis/es/Map');
|
|
15
15
|
var TileLayer = require('@evergis/sgis/es/layers/TileLayer');
|
|
16
|
+
var Crs = require('@evergis/sgis/es/Crs');
|
|
16
17
|
var DynamicLayer = require('@evergis/sgis/es/layers/DynamicLayer');
|
|
17
18
|
var sgis = require('@evergis/sgis');
|
|
18
19
|
|
|
@@ -310,6 +311,76 @@ let Service = /*#__PURE__*/_createClass(function Service(http) {
|
|
|
310
311
|
this.http = http;
|
|
311
312
|
});
|
|
312
313
|
|
|
314
|
+
/**
|
|
315
|
+
* @title Spatial Processing Core API
|
|
316
|
+
* @version 1.0.0
|
|
317
|
+
* @baseUrl /sp
|
|
318
|
+
*/
|
|
319
|
+
|
|
320
|
+
let SpatialReferencesService = /*#__PURE__*/function (_Service) {
|
|
321
|
+
_inherits(SpatialReferencesService, _Service);
|
|
322
|
+
|
|
323
|
+
var _super = /*#__PURE__*/_createSuper(SpatialReferencesService);
|
|
324
|
+
|
|
325
|
+
function SpatialReferencesService() {
|
|
326
|
+
_classCallCheck(this, SpatialReferencesService);
|
|
327
|
+
|
|
328
|
+
return _super.apply(this, arguments);
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
_createClass(SpatialReferencesService, [{
|
|
332
|
+
key: "getAvailiableCs",
|
|
333
|
+
value:
|
|
334
|
+
/**
|
|
335
|
+
* No description
|
|
336
|
+
*
|
|
337
|
+
* @tags SpatialReferences
|
|
338
|
+
* @name GetAvailiableCs
|
|
339
|
+
* @operationId SpatialReferencesController_GetAvailiableCsAsync
|
|
340
|
+
* @summary Returns list of available spatial references.
|
|
341
|
+
* @request GET:/srs/list
|
|
342
|
+
* @response `200` Success
|
|
343
|
+
*/
|
|
344
|
+
function getAvailiableCs() {
|
|
345
|
+
return this.http.get("/srs/list").json();
|
|
346
|
+
}
|
|
347
|
+
/**
|
|
348
|
+
* No description
|
|
349
|
+
*
|
|
350
|
+
* @tags SpatialReferences
|
|
351
|
+
* @name GetProj4Representation
|
|
352
|
+
* @operationId SpatialReferencesController_GetProj4RepresentationAsync
|
|
353
|
+
* @summary Returns a WKT representation of spatial reference.
|
|
354
|
+
* @request GET:/srs/{name}/proj4
|
|
355
|
+
* @response `200` Success
|
|
356
|
+
*/
|
|
357
|
+
|
|
358
|
+
}, {
|
|
359
|
+
key: "getProj4Representation",
|
|
360
|
+
value: function getProj4Representation(name) {
|
|
361
|
+
return this.http.get("/srs/" + name + "/proj4").text();
|
|
362
|
+
}
|
|
363
|
+
/**
|
|
364
|
+
* No description
|
|
365
|
+
*
|
|
366
|
+
* @tags SpatialReferences
|
|
367
|
+
* @name GetWktRepresentation
|
|
368
|
+
* @operationId SpatialReferencesController_GetWktRepresentationAsync
|
|
369
|
+
* @summary Returns a WKT representation of spatial reference.
|
|
370
|
+
* @request GET:/srs/{name}/wkt
|
|
371
|
+
* @response `200` Success
|
|
372
|
+
*/
|
|
373
|
+
|
|
374
|
+
}, {
|
|
375
|
+
key: "getWktRepresentation",
|
|
376
|
+
value: function getWktRepresentation(name) {
|
|
377
|
+
return this.http.get("/srs/" + name + "/wkt").text();
|
|
378
|
+
}
|
|
379
|
+
}]);
|
|
380
|
+
|
|
381
|
+
return SpatialReferencesService;
|
|
382
|
+
}(Service);
|
|
383
|
+
|
|
313
384
|
const _excluded = ["taskId", "layerName"];
|
|
314
385
|
/**
|
|
315
386
|
* @title Spatial Processing Core API
|
|
@@ -2396,6 +2467,22 @@ let LayersService = /*#__PURE__*/function (_Service) {
|
|
|
2396
2467
|
*
|
|
2397
2468
|
* @tags Layers
|
|
2398
2469
|
* @name GetFeatures
|
|
2470
|
+
* @operationId LayersController_GetFeaturesQuery
|
|
2471
|
+
* @summary Returns list of the layer features.
|
|
2472
|
+
* @request POST:/layers/{name}/features/query
|
|
2473
|
+
* @response `200` Success
|
|
2474
|
+
*/
|
|
2475
|
+
|
|
2476
|
+
}, {
|
|
2477
|
+
key: "getFeaturesQuery",
|
|
2478
|
+
value: function getFeaturesQuery(name, data) {
|
|
2479
|
+
return this.http.post("/layers/" + name + "/features/query", data).json();
|
|
2480
|
+
}
|
|
2481
|
+
/**
|
|
2482
|
+
* No description
|
|
2483
|
+
*
|
|
2484
|
+
* @tags Layers
|
|
2485
|
+
* @name GetFeatures1
|
|
2399
2486
|
* @operationId LayersController_GetFeatures
|
|
2400
2487
|
* @summary Returns list of the layer features.
|
|
2401
2488
|
* @request GET:/layers/{name}/features
|
|
@@ -6674,6 +6761,7 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
|
|
|
6674
6761
|
_this.feedback = new Feedback(_this.http);
|
|
6675
6762
|
_this.vectorTiles = new VectorTiles(_this.http);
|
|
6676
6763
|
_this.universalSearch = new UniversalSearchService(_this.http);
|
|
6764
|
+
_this.spatialReference = new SpatialReferencesService(_this.http);
|
|
6677
6765
|
_this.names = new Names({
|
|
6678
6766
|
account: _this.account
|
|
6679
6767
|
});
|
|
@@ -6850,7 +6938,7 @@ let EvergisTileLayer = /*#__PURE__*/function (_TileLayer) {
|
|
|
6850
6938
|
return EvergisTileLayer;
|
|
6851
6939
|
}(TileLayer.TileLayer);
|
|
6852
6940
|
|
|
6853
|
-
const _excluded$8 = ["name", "style", "condition", "dataFilterId"];
|
|
6941
|
+
const _excluded$8 = ["name", "style", "condition", "dataFilterId", "crs"];
|
|
6854
6942
|
let EvergisDynamicLayer = /*#__PURE__*/function (_DynamicLayer) {
|
|
6855
6943
|
_inherits(EvergisDynamicLayer, _DynamicLayer);
|
|
6856
6944
|
|
|
@@ -6863,7 +6951,8 @@ let EvergisDynamicLayer = /*#__PURE__*/function (_DynamicLayer) {
|
|
|
6863
6951
|
name,
|
|
6864
6952
|
style,
|
|
6865
6953
|
condition,
|
|
6866
|
-
dataFilterId
|
|
6954
|
+
dataFilterId,
|
|
6955
|
+
crs = Crs.webMercator
|
|
6867
6956
|
} = _ref,
|
|
6868
6957
|
layerProps = _objectWithoutPropertiesLoose(_ref, _excluded$8);
|
|
6869
6958
|
|
|
@@ -6875,6 +6964,7 @@ let EvergisDynamicLayer = /*#__PURE__*/function (_DynamicLayer) {
|
|
|
6875
6964
|
_this.styleId = style;
|
|
6876
6965
|
_this.conditionQuery = condition;
|
|
6877
6966
|
_this.filterId = dataFilterId;
|
|
6967
|
+
_this.crs = crs;
|
|
6878
6968
|
|
|
6879
6969
|
_this.subscribeRedraw();
|
|
6880
6970
|
|