@evergis/api 3.0.117 → 3.0.119
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 -1
- package/dist/__generated__/ProjectsService.d.ts +2 -2
- package/dist/__generated__/StatisticService.d.ts +2 -2
- package/dist/__generated__/WmsServerService.d.ts +2 -2
- package/dist/__generated__/data-contracts.d.ts +33 -5
- package/dist/api.cjs.development.js +78 -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 +78 -3
- package/dist/api.esm.js.map +1 -1
- package/dist/services/VectorTiles.d.ts +4 -0
- package/dist/services/index.d.ts +1 -0
- package/package.json +2 -2
package/dist/api.esm.js
CHANGED
|
@@ -5863,6 +5863,80 @@ let Feedback = /*#__PURE__*/function (_FeedbackService) {
|
|
|
5863
5863
|
return Feedback;
|
|
5864
5864
|
}(FeedbackService);
|
|
5865
5865
|
|
|
5866
|
+
const _excluded$5 = ["name", "z", "x", "y"];
|
|
5867
|
+
/**
|
|
5868
|
+
* @title Spatial Processing Core API
|
|
5869
|
+
* @version 1.0.0
|
|
5870
|
+
* @baseUrl /sp
|
|
5871
|
+
*/
|
|
5872
|
+
|
|
5873
|
+
let VectorTileService = /*#__PURE__*/function (_Service) {
|
|
5874
|
+
_inherits(VectorTileService, _Service);
|
|
5875
|
+
|
|
5876
|
+
var _super = /*#__PURE__*/_createSuper(VectorTileService);
|
|
5877
|
+
|
|
5878
|
+
function VectorTileService() {
|
|
5879
|
+
_classCallCheck(this, VectorTileService);
|
|
5880
|
+
|
|
5881
|
+
return _super.apply(this, arguments);
|
|
5882
|
+
}
|
|
5883
|
+
|
|
5884
|
+
_createClass(VectorTileService, [{
|
|
5885
|
+
key: "getVectorTile",
|
|
5886
|
+
value:
|
|
5887
|
+
/**
|
|
5888
|
+
* No description
|
|
5889
|
+
*
|
|
5890
|
+
* @tags VectorTileService
|
|
5891
|
+
* @name GetVectorTile
|
|
5892
|
+
* @operationId VectorTileServiceController_GetVectorTile
|
|
5893
|
+
* @summary Get vector tile from visible project layers or single layer.
|
|
5894
|
+
* @request GET:/vt/{name}/{z}/{x}/{y}.pbf
|
|
5895
|
+
* @response `200` Success
|
|
5896
|
+
*/
|
|
5897
|
+
function getVectorTile(_ref) {
|
|
5898
|
+
let {
|
|
5899
|
+
name,
|
|
5900
|
+
z,
|
|
5901
|
+
x,
|
|
5902
|
+
y
|
|
5903
|
+
} = _ref,
|
|
5904
|
+
query = _objectWithoutPropertiesLoose(_ref, _excluded$5);
|
|
5905
|
+
|
|
5906
|
+
return this.http.get("/vt/" + name + "/" + z + "/" + x + "/" + y + ".pbf", query).then(() => {});
|
|
5907
|
+
}
|
|
5908
|
+
}]);
|
|
5909
|
+
|
|
5910
|
+
return VectorTileService;
|
|
5911
|
+
}(Service);
|
|
5912
|
+
|
|
5913
|
+
let VectorTiles = /*#__PURE__*/function (_VectorTileService) {
|
|
5914
|
+
_inherits(VectorTiles, _VectorTileService);
|
|
5915
|
+
|
|
5916
|
+
var _super = /*#__PURE__*/_createSuper(VectorTiles);
|
|
5917
|
+
|
|
5918
|
+
function VectorTiles() {
|
|
5919
|
+
_classCallCheck(this, VectorTiles);
|
|
5920
|
+
|
|
5921
|
+
return _super.apply(this, arguments);
|
|
5922
|
+
}
|
|
5923
|
+
|
|
5924
|
+
_createClass(VectorTiles, [{
|
|
5925
|
+
key: "getVt",
|
|
5926
|
+
value: function getVt(name, z, x, y, isProject) {
|
|
5927
|
+
return this.getVectorTile({
|
|
5928
|
+
name,
|
|
5929
|
+
z,
|
|
5930
|
+
x,
|
|
5931
|
+
y,
|
|
5932
|
+
isProject
|
|
5933
|
+
});
|
|
5934
|
+
}
|
|
5935
|
+
}]);
|
|
5936
|
+
|
|
5937
|
+
return VectorTiles;
|
|
5938
|
+
}(VectorTileService);
|
|
5939
|
+
|
|
5866
5940
|
/**
|
|
5867
5941
|
* @title Spatial Processing Core API
|
|
5868
5942
|
* @version 1.0.0
|
|
@@ -6077,6 +6151,7 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
|
|
|
6077
6151
|
_this.iceRouter = new IceRouter(_this.http);
|
|
6078
6152
|
_this.statistic = new Statistic(_this.http);
|
|
6079
6153
|
_this.feedback = new Feedback(_this.http);
|
|
6154
|
+
_this.vectorTiles = new VectorTiles(_this.http);
|
|
6080
6155
|
_this.names = new Names({
|
|
6081
6156
|
account: _this.account
|
|
6082
6157
|
});
|
|
@@ -6241,7 +6316,7 @@ let EvergisTileLayer = /*#__PURE__*/function (_TileLayer) {
|
|
|
6241
6316
|
return EvergisTileLayer;
|
|
6242
6317
|
}(TileLayer);
|
|
6243
6318
|
|
|
6244
|
-
const _excluded$
|
|
6319
|
+
const _excluded$6 = ["name", "style", "condition", "dataFilterId"];
|
|
6245
6320
|
let EvergisDynamicLayer = /*#__PURE__*/function (_DynamicLayer) {
|
|
6246
6321
|
_inherits(EvergisDynamicLayer, _DynamicLayer);
|
|
6247
6322
|
|
|
@@ -6256,7 +6331,7 @@ let EvergisDynamicLayer = /*#__PURE__*/function (_DynamicLayer) {
|
|
|
6256
6331
|
condition,
|
|
6257
6332
|
dataFilterId
|
|
6258
6333
|
} = _ref,
|
|
6259
|
-
layerProps = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
6334
|
+
layerProps = _objectWithoutPropertiesLoose(_ref, _excluded$6);
|
|
6260
6335
|
|
|
6261
6336
|
_classCallCheck(this, EvergisDynamicLayer);
|
|
6262
6337
|
|
|
@@ -7255,5 +7330,5 @@ var TextVerticalAlignment;
|
|
|
7255
7330
|
TextVerticalAlignment["Middle"] = "middle";
|
|
7256
7331
|
})(TextVerticalAlignment || (TextVerticalAlignment = {}));
|
|
7257
7332
|
|
|
7258
|
-
export { Account, AccountPreview, AggregationFunction, Api, ApiEvent, AttributeType, BulkOperations, ClassificationType, ClassifyAttributeType, ClientSettings, ConfigurationErrorEnum, ConnectionStatus, DependencyType, ErrorDetailsType, ErrorReason, ErrorType, EvergisDynamicLayer, EvergisTileLayer, External, FeatureType, Feedback, FileUpload, Filters, FontStyle, FontWeight, GEOCODE_PROVIDER, General, Geocode, GeometryType, Group, HttpClient, IceRouter, Import, Layers, LayersManager, LineEndingSize, LineEndingType, Names, Namespace, Notification, NotificationEvent, Operation, Permissions, PolicyType, PortalSettings, Projects, ReferenceJoinType, ResourceCatalog, ResourceSeparator, ResourceType, ResourceTypeLink, Resources, Scheduler, Security, ServerTaskStatus, SpatialProcessor, Statistic, StringSubType, Styles, Tables, TaskGroup, TextAlignment, TextVerticalAlignment, Tools, UrlPath, addSubDomainToLocation, errorHandler, formDataFromFile, generateId, isEvergisDynamicLayer, isEvergisTileLayer, isFeatureLayer, isHTTPError, isHandledError, isLayer, isProjectContentItems, isString, isTileLayerService, promiseAllIgnoreErrors, stripUselessSlashes, toFormData, unique };
|
|
7333
|
+
export { Account, AccountPreview, AggregationFunction, Api, ApiEvent, AttributeType, BulkOperations, ClassificationType, ClassifyAttributeType, ClientSettings, ConfigurationErrorEnum, ConnectionStatus, DependencyType, ErrorDetailsType, ErrorReason, ErrorType, EvergisDynamicLayer, EvergisTileLayer, External, FeatureType, Feedback, FileUpload, Filters, FontStyle, FontWeight, GEOCODE_PROVIDER, General, Geocode, GeometryType, Group, HttpClient, IceRouter, Import, Layers, LayersManager, LineEndingSize, LineEndingType, Names, Namespace, Notification, NotificationEvent, Operation, Permissions, PolicyType, PortalSettings, Projects, ReferenceJoinType, ResourceCatalog, ResourceSeparator, ResourceType, ResourceTypeLink, Resources, Scheduler, Security, ServerTaskStatus, SpatialProcessor, Statistic, StringSubType, Styles, Tables, TaskGroup, TextAlignment, TextVerticalAlignment, Tools, UrlPath, VectorTiles, addSubDomainToLocation, errorHandler, formDataFromFile, generateId, isEvergisDynamicLayer, isEvergisTileLayer, isFeatureLayer, isHTTPError, isHandledError, isLayer, isProjectContentItems, isString, isTileLayerService, promiseAllIgnoreErrors, stripUselessSlashes, toFormData, unique };
|
|
7259
7334
|
//# sourceMappingURL=api.esm.js.map
|