@vertigis/viewer-spec 61.5.0 → 61.6.0
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.
|
@@ -94,6 +94,11 @@ export interface LayerSettingsArgs extends HasLayerSettings, HasLayers, HasSymbo
|
|
|
94
94
|
*/
|
|
95
95
|
export interface FromKmlArgs extends HasFiles {
|
|
96
96
|
}
|
|
97
|
+
/**
|
|
98
|
+
* Arguments for the layers.from-fgdb operation.
|
|
99
|
+
*/
|
|
100
|
+
export interface FromFgdbArgs extends HasFiles {
|
|
101
|
+
}
|
|
97
102
|
/**
|
|
98
103
|
* Arguments for the layers.from-dxf operation. When the spatial references are
|
|
99
104
|
* omitted, Web defaults both input and output to the active map's current
|
|
@@ -276,6 +281,12 @@ export declare class LayersOperations extends OperationRegistry {
|
|
|
276
281
|
* @webOnly
|
|
277
282
|
*/
|
|
278
283
|
get fromKml(): Operation<FromKmlArgs | Blob | Blob[], HasLayers>;
|
|
284
|
+
/**
|
|
285
|
+
* Convert the specified FGDB blob to layers. Web only.
|
|
286
|
+
*
|
|
287
|
+
* @webOnly
|
|
288
|
+
*/
|
|
289
|
+
get fromFgdb(): Operation<FromFgdbArgs | Blob | Blob[], HasLayers>;
|
|
279
290
|
/**
|
|
280
291
|
* Convert the specified DXF blob to layers. If spatial references are not
|
|
281
292
|
* specified, Web defaults both the input and output to the active map's
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{CommandRegistry as e}from"../CommandRegistry.js";import{EventRegistry as t}from"../EventRegistry.js";import{OperationRegistry as s}from"../OperationRegistry.js";export class LayersCommands extends e{_prefix="layers";get ensureCanSetSymbol(){return this._get("ensure-can-set-symbol")}get resetDefinitionExpression(){return this._get("reset-definition-expression")}get resetSymbol(){return this._get("reset-symbol")}get setDefinitionExpression(){return this._get("set-definition-expression")}get setLabelClasses(){return this._get("set-label-classes")}get setPopupTemplate(){return this._get("set-popup-template")}get setSymbol(){return this._get("set-symbol")}get setTaskSettings(){return this._get("set-task-settings")}get setTitle(){return this._get("set-title")}get setVisibility(){return this._get("set-visibility")}get showLabels(){return this._get("show-labels")}get hideLabels(){return this._get("hide-labels")}}export class LayersOperations extends s{_prefix="layers";get getPopupTemplate(){return this._get("get-popup-template")}get getLabelClasses(){return this._get("get-label-classes")}get getTaskSettings(){return this._get("get-task-settings")}get getTitle(){return this._get("get-title")}get editSettings(){return this._get("edit-settings")}get editLabelSettings(){return this._get("edit-symbol-settings")}get editSymbols(){return this._get("edit-symbols")}get fromKml(){return this._get("from-kml")}get fromDxf(){return this._get("from-dxf")}get fromUrl(){return this._get("from-url")}}export class LayersEvents extends t{_prefix="layers";get definitionExpressionChanged(){return this._get("definition-expression-changed")}get visibilityChanged(){return this._get("visibility-changed")}}
|
|
1
|
+
import{CommandRegistry as e}from"../CommandRegistry.js";import{EventRegistry as t}from"../EventRegistry.js";import{OperationRegistry as s}from"../OperationRegistry.js";export class LayersCommands extends e{_prefix="layers";get ensureCanSetSymbol(){return this._get("ensure-can-set-symbol")}get resetDefinitionExpression(){return this._get("reset-definition-expression")}get resetSymbol(){return this._get("reset-symbol")}get setDefinitionExpression(){return this._get("set-definition-expression")}get setLabelClasses(){return this._get("set-label-classes")}get setPopupTemplate(){return this._get("set-popup-template")}get setSymbol(){return this._get("set-symbol")}get setTaskSettings(){return this._get("set-task-settings")}get setTitle(){return this._get("set-title")}get setVisibility(){return this._get("set-visibility")}get showLabels(){return this._get("show-labels")}get hideLabels(){return this._get("hide-labels")}}export class LayersOperations extends s{_prefix="layers";get getPopupTemplate(){return this._get("get-popup-template")}get getLabelClasses(){return this._get("get-label-classes")}get getTaskSettings(){return this._get("get-task-settings")}get getTitle(){return this._get("get-title")}get editSettings(){return this._get("edit-settings")}get editLabelSettings(){return this._get("edit-symbol-settings")}get editSymbols(){return this._get("edit-symbols")}get fromKml(){return this._get("from-kml")}get fromFgdb(){return this._get("from-fgdb")}get fromDxf(){return this._get("from-dxf")}get fromUrl(){return this._get("from-url")}}export class LayersEvents extends t{_prefix="layers";get definitionExpressionChanged(){return this._get("definition-expression-changed")}get visibilityChanged(){return this._get("visibility-changed")}}
|
|
@@ -5739,6 +5739,20 @@
|
|
|
5739
5739
|
},
|
|
5740
5740
|
"type": "object"
|
|
5741
5741
|
},
|
|
5742
|
+
"FromFgdbArgs": {
|
|
5743
|
+
"additionalProperties": false,
|
|
5744
|
+
"description": "Arguments for the layers.from-fgdb operation.",
|
|
5745
|
+
"properties": {
|
|
5746
|
+
"blobs": {
|
|
5747
|
+
"description": "The data files to use for the command/operation.",
|
|
5748
|
+
"items": {
|
|
5749
|
+
"$ref": "FileLike"
|
|
5750
|
+
},
|
|
5751
|
+
"type": "array"
|
|
5752
|
+
}
|
|
5753
|
+
},
|
|
5754
|
+
"type": "object"
|
|
5755
|
+
},
|
|
5742
5756
|
"FromGraphicsArgs": {
|
|
5743
5757
|
"additionalProperties": false,
|
|
5744
5758
|
"description": "Arguments for the \"results.from-graphics\" operation.",
|
|
@@ -25123,6 +25137,31 @@
|
|
|
25123
25137
|
"layers.from-dxf:output": {
|
|
25124
25138
|
"$ref": "#/definitions/HasLayers"
|
|
25125
25139
|
},
|
|
25140
|
+
"layers.from-fgdb": {
|
|
25141
|
+
"description": "Convert the specified FGDB blob to layers. Web only.",
|
|
25142
|
+
"enum": [
|
|
25143
|
+
"layers.from-fgdb"
|
|
25144
|
+
]
|
|
25145
|
+
},
|
|
25146
|
+
"layers.from-fgdb:input": {
|
|
25147
|
+
"anyOf": [
|
|
25148
|
+
{
|
|
25149
|
+
"$ref": "#/definitions/FromFgdbArgs"
|
|
25150
|
+
},
|
|
25151
|
+
{
|
|
25152
|
+
"$ref": "global.Blob"
|
|
25153
|
+
},
|
|
25154
|
+
{
|
|
25155
|
+
"items": {
|
|
25156
|
+
"$ref": "global.Blob"
|
|
25157
|
+
},
|
|
25158
|
+
"type": "array"
|
|
25159
|
+
}
|
|
25160
|
+
]
|
|
25161
|
+
},
|
|
25162
|
+
"layers.from-fgdb:output": {
|
|
25163
|
+
"$ref": "#/definitions/HasLayers"
|
|
25164
|
+
},
|
|
25126
25165
|
"layers.from-kml": {
|
|
25127
25166
|
"description": "Convert the specified KML blob to layers. Web only.",
|
|
25128
25167
|
"enum": [
|
|
@@ -32276,6 +32315,22 @@
|
|
|
32276
32315
|
],
|
|
32277
32316
|
"type": "object"
|
|
32278
32317
|
},
|
|
32318
|
+
{
|
|
32319
|
+
"additionalProperties": false,
|
|
32320
|
+
"properties": {
|
|
32321
|
+
"arguments": {
|
|
32322
|
+
"$ref": "#/definitions/layers.from-fgdb:input"
|
|
32323
|
+
},
|
|
32324
|
+
"name": {
|
|
32325
|
+
"$ref": "#/definitions/layers.from-fgdb"
|
|
32326
|
+
}
|
|
32327
|
+
},
|
|
32328
|
+
"required": [
|
|
32329
|
+
"name",
|
|
32330
|
+
"arguments"
|
|
32331
|
+
],
|
|
32332
|
+
"type": "object"
|
|
32333
|
+
},
|
|
32279
32334
|
{
|
|
32280
32335
|
"additionalProperties": false,
|
|
32281
32336
|
"properties": {
|
|
@@ -33488,6 +33543,9 @@
|
|
|
33488
33543
|
{
|
|
33489
33544
|
"$ref": "#/definitions/layers.from-dxf"
|
|
33490
33545
|
},
|
|
33546
|
+
{
|
|
33547
|
+
"$ref": "#/definitions/layers.from-fgdb"
|
|
33548
|
+
},
|
|
33491
33549
|
{
|
|
33492
33550
|
"$ref": "#/definitions/layers.from-kml"
|
|
33493
33551
|
},
|
|
@@ -498,6 +498,28 @@ FromDxfArgs properties:
|
|
|
498
498
|
|
|
499
499
|
Outputs: `HasLayers`
|
|
500
500
|
|
|
501
|
+
---
|
|
502
|
+
# operation: layers.from-fgdb
|
|
503
|
+
Description: Convert the specified FGDB blob to layers. Web only.
|
|
504
|
+
|
|
505
|
+
Inputs: `( FromFgdbArgs | global.Blob | global.Blob[] )`
|
|
506
|
+
|
|
507
|
+
FromFgdbArgs properties:
|
|
508
|
+
```json
|
|
509
|
+
{
|
|
510
|
+
"blobs": {
|
|
511
|
+
"description": "The data files to use for the command/operation.",
|
|
512
|
+
"items": {
|
|
513
|
+
"$ref": "FileLike",
|
|
514
|
+
"FileLike": {}
|
|
515
|
+
},
|
|
516
|
+
"type": "array"
|
|
517
|
+
}
|
|
518
|
+
}
|
|
519
|
+
```
|
|
520
|
+
|
|
521
|
+
Outputs: `HasLayers`
|
|
522
|
+
|
|
501
523
|
---
|
|
502
524
|
# operation: layers.from-kml
|
|
503
525
|
Description: Convert the specified KML blob to layers. Web only.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vertigis/viewer-spec",
|
|
3
|
-
"version": "61.
|
|
3
|
+
"version": "61.6.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE",
|
|
5
5
|
"description": "VertiGIS Viewer Specification",
|
|
6
6
|
"type": "module",
|
|
@@ -72,7 +72,8 @@
|
|
|
72
72
|
"weaktuplemap": "1.0.0"
|
|
73
73
|
},
|
|
74
74
|
"overrides": {
|
|
75
|
-
"xlsx": "https://cdn.sheetjs.com/xlsx-0.20.2/xlsx-0.20.2.tgz"
|
|
75
|
+
"xlsx": "https://cdn.sheetjs.com/xlsx-0.20.2/xlsx-0.20.2.tgz",
|
|
76
|
+
"flatted": "3.4.2"
|
|
76
77
|
},
|
|
77
78
|
"simple-git-hooks": {
|
|
78
79
|
"pre-commit": "npx lint-staged"
|
package/version.d.ts
CHANGED
package/version.js
CHANGED