@vertigis/viewer-spec 61.20.3 → 61.22.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.
@@ -0,0 +1,60 @@
1
+ # command: copy-features.add-features
2
+ Description: Adds features to the Copy Features component. Web only.
3
+
4
+ Inputs: `CopyFeaturesArgs`
5
+
6
+ CopyFeaturesArgs properties:
7
+ ```json
8
+ {
9
+ "features": {
10
+ "description": "Features to use for the command/operation."
11
+ },
12
+ "maps": {
13
+ "description": "Map(s) to use for the command/operation."
14
+ }
15
+ }
16
+ ```
17
+
18
+ ---
19
+ # command: copy-features.clear
20
+ Description: Clears all source features from the Copy Features component. Web only.
21
+
22
+ Inputs: `None`
23
+
24
+ ---
25
+ # command: copy-features.display
26
+ Description: Displays the Copy Features interface for the supplied source features. Web only.
27
+
28
+ Inputs: `CopyFeaturesArgs`
29
+
30
+ CopyFeaturesArgs properties:
31
+ ```json
32
+ {
33
+ "features": {
34
+ "description": "Features to use for the command/operation."
35
+ },
36
+ "maps": {
37
+ "description": "Map(s) to use for the command/operation."
38
+ }
39
+ }
40
+ ```
41
+
42
+ ---
43
+ # command: copy-features.remove-features
44
+ Description: Removes features from the Copy Features component. Web only.
45
+
46
+ Inputs: `CopyFeaturesArgs`
47
+
48
+ CopyFeaturesArgs properties:
49
+ ```json
50
+ {
51
+ "features": {
52
+ "description": "Features to use for the command/operation."
53
+ },
54
+ "maps": {
55
+ "description": "Map(s) to use for the command/operation."
56
+ }
57
+ }
58
+ ```
59
+
60
+ ---
@@ -0,0 +1,37 @@
1
+ # operation: copy-features.copy
2
+ Description: Creates in-memory copies of the supplied source features using the target layer and field mappings. This operation does not add the copied features to the target layer. Web only.
3
+
4
+ Inputs: `CopyFeaturesOperationArgs`
5
+
6
+ CopyFeaturesOperationArgs properties:
7
+ ```json
8
+ {
9
+ "copyAttachments": {
10
+ "description": "Whether attachments from source features should be copied to new target features.",
11
+ "type": "boolean"
12
+ },
13
+ "features": {
14
+ "description": "Source features to prepare for copying.",
15
+ "isRequired": "true"
16
+ },
17
+ "fieldMappings": {
18
+ "description": "Attribute mappings applied to each copied feature.",
19
+ "items": {
20
+ "$ref": "__type"
21
+ },
22
+ "type": "array",
23
+ "isRequired": "true"
24
+ },
25
+ "model": {
26
+ "description": "Optional Copy Features component to target when more than one exists."
27
+ },
28
+ "targetLayer": {
29
+ "description": "Target layer whose geometry and field schema should be used.",
30
+ "isRequired": "true"
31
+ }
32
+ }
33
+ ```
34
+
35
+ Outputs: `Features`
36
+
37
+ ---