@vertigis/viewer-spec 61.22.0 → 61.23.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.
- package/app-config/web/DxfExportModelProperties.d.ts +14 -0
- package/app-config/web/DxfExportModelProperties.js +1 -0
- package/app-config/web/GeoDataModelProperties.d.ts +8 -4
- package/layout/schema/layout-web.xsd +2 -2
- package/messaging/registry/layers.d.ts +132 -1
- package/messaging/registry/layers.js +1 -1
- package/messaging/schema/web-action.reference.json +1 -1
- package/messaging/schema/web-action.schema.json +1 -1
- package/messaging/schema/web-layers-command-definitions.md +30 -0
- package/messaging/schema/web-layers-operation-definitions.md +163 -0
- package/package.json +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -1,3 +1,33 @@
|
|
|
1
|
+
# command: layers.display-dxf-log
|
|
2
|
+
Description: Displays the DXF export log UI. Web only.
|
|
3
|
+
|
|
4
|
+
Inputs: `HasUITarget`
|
|
5
|
+
|
|
6
|
+
HasUITarget properties:
|
|
7
|
+
```json
|
|
8
|
+
{
|
|
9
|
+
"attributes": {
|
|
10
|
+
"description": "Optional layout XML attributes to be used for the transient UI container."
|
|
11
|
+
},
|
|
12
|
+
"icon": {
|
|
13
|
+
"description": "Optional icon that may be used by the transient UI container.",
|
|
14
|
+
"type": "string"
|
|
15
|
+
},
|
|
16
|
+
"parent": {
|
|
17
|
+
"anyOf": [
|
|
18
|
+
{
|
|
19
|
+
"$ref": "#/definitions/Model"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"type": "string"
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"description": "The layout ID or ItemRef to target for the command/operation. This component will be the parent of the temporary UI that will be removed after the command/operation completes."
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
---
|
|
1
31
|
# command: layers.ensure-can-set-symbol
|
|
2
32
|
Description: Guard command for enabling the layers.set-symbol command. Web only.
|
|
3
33
|
|
|
@@ -654,3 +654,166 @@ HasLayers properties:
|
|
|
654
654
|
Outputs: `LayerSettingsArgs`
|
|
655
655
|
|
|
656
656
|
---
|
|
657
|
+
# operation: layers.to-dxf
|
|
658
|
+
Description: Exports map layers to a DXF file. Web only.
|
|
659
|
+
|
|
660
|
+
Inputs: `ToDxfConversionArgs`
|
|
661
|
+
|
|
662
|
+
ToDxfConversionArgs properties:
|
|
663
|
+
```json
|
|
664
|
+
{
|
|
665
|
+
"apiVersion": {
|
|
666
|
+
"const": "1.0",
|
|
667
|
+
"description": "The DXF export API version.",
|
|
668
|
+
"type": "string",
|
|
669
|
+
"isRequired": "true"
|
|
670
|
+
},
|
|
671
|
+
"authToken": {
|
|
672
|
+
"description": "The token used to access secured layers.",
|
|
673
|
+
"type": "string"
|
|
674
|
+
},
|
|
675
|
+
"boundaryBehavior": {
|
|
676
|
+
"description": "Whether geometries crossing the export area are clipped or included.",
|
|
677
|
+
"enum": [
|
|
678
|
+
"clip",
|
|
679
|
+
"include"
|
|
680
|
+
],
|
|
681
|
+
"type": "string",
|
|
682
|
+
"isRequired": "true"
|
|
683
|
+
},
|
|
684
|
+
"exportArea": {
|
|
685
|
+
"description": "The polygon ring defining the area to export.",
|
|
686
|
+
"items": {
|
|
687
|
+
"items": {
|
|
688
|
+
"type": "number"
|
|
689
|
+
},
|
|
690
|
+
"type": "array"
|
|
691
|
+
},
|
|
692
|
+
"type": "array",
|
|
693
|
+
"isRequired": "true"
|
|
694
|
+
},
|
|
695
|
+
"formatOption": {
|
|
696
|
+
"description": "The AutoCAD version of the exported file.",
|
|
697
|
+
"enum": [
|
|
698
|
+
"AutoCAD2000",
|
|
699
|
+
"AutoCAD2010"
|
|
700
|
+
],
|
|
701
|
+
"type": "string",
|
|
702
|
+
"isRequired": "true"
|
|
703
|
+
},
|
|
704
|
+
"layers": {
|
|
705
|
+
"description": "The layers to export.",
|
|
706
|
+
"items": {
|
|
707
|
+
"$ref": "#/definitions/DxfExportLayer",
|
|
708
|
+
"DxfExportLayer": {
|
|
709
|
+
"gdbVersion": {
|
|
710
|
+
"description": "The geodatabase version to export.",
|
|
711
|
+
"type": "string"
|
|
712
|
+
},
|
|
713
|
+
"id": {
|
|
714
|
+
"description": "The layer ID.",
|
|
715
|
+
"type": "string",
|
|
716
|
+
"isRequired": "true"
|
|
717
|
+
},
|
|
718
|
+
"layerId": {
|
|
719
|
+
"description": "The source layer ID.",
|
|
720
|
+
"type": [
|
|
721
|
+
"string",
|
|
722
|
+
"number"
|
|
723
|
+
]
|
|
724
|
+
},
|
|
725
|
+
"layerURL": {
|
|
726
|
+
"description": "The source layer URL.",
|
|
727
|
+
"type": "string"
|
|
728
|
+
},
|
|
729
|
+
"name": {
|
|
730
|
+
"description": "The name to use for the layer in the exported file.",
|
|
731
|
+
"type": "string",
|
|
732
|
+
"isRequired": "true"
|
|
733
|
+
},
|
|
734
|
+
"queryLayer": {
|
|
735
|
+
"description": "The layer ID to query.",
|
|
736
|
+
"type": "string"
|
|
737
|
+
},
|
|
738
|
+
"sublayers": {
|
|
739
|
+
"description": "Sublayers included in the export.",
|
|
740
|
+
"items": {
|
|
741
|
+
"$ref": "#/definitions/DxfExportSublayer",
|
|
742
|
+
"DxfExportSublayer": {
|
|
743
|
+
"gdbVersion": {
|
|
744
|
+
"description": "The geodatabase version to export.",
|
|
745
|
+
"type": "string"
|
|
746
|
+
},
|
|
747
|
+
"id": {
|
|
748
|
+
"description": "The sublayer ID.",
|
|
749
|
+
"type": "string",
|
|
750
|
+
"isRequired": "true"
|
|
751
|
+
},
|
|
752
|
+
"layerId": {
|
|
753
|
+
"description": "The source layer ID.",
|
|
754
|
+
"type": [
|
|
755
|
+
"string",
|
|
756
|
+
"number"
|
|
757
|
+
]
|
|
758
|
+
},
|
|
759
|
+
"layerURL": {
|
|
760
|
+
"description": "The source layer URL.",
|
|
761
|
+
"type": "string"
|
|
762
|
+
},
|
|
763
|
+
"name": {
|
|
764
|
+
"description": "The name to use for the sublayer in the exported file.",
|
|
765
|
+
"type": "string",
|
|
766
|
+
"isRequired": "true"
|
|
767
|
+
},
|
|
768
|
+
"queryLayer": {
|
|
769
|
+
"description": "The layer ID to query.",
|
|
770
|
+
"type": "string"
|
|
771
|
+
}
|
|
772
|
+
}
|
|
773
|
+
},
|
|
774
|
+
"type": "array"
|
|
775
|
+
}
|
|
776
|
+
}
|
|
777
|
+
},
|
|
778
|
+
"type": "array",
|
|
779
|
+
"isRequired": "true"
|
|
780
|
+
},
|
|
781
|
+
"resultType": {
|
|
782
|
+
"description": "Whether to create an ASCII or binary DXF file.",
|
|
783
|
+
"enum": [
|
|
784
|
+
"Binary DXF",
|
|
785
|
+
"DXF"
|
|
786
|
+
],
|
|
787
|
+
"type": "string",
|
|
788
|
+
"isRequired": "true"
|
|
789
|
+
},
|
|
790
|
+
"spatialReference": {
|
|
791
|
+
"description": "The spatial reference of the export area."
|
|
792
|
+
},
|
|
793
|
+
"targetSpatialReference": {
|
|
794
|
+
"description": "The spatial reference of the exported file."
|
|
795
|
+
},
|
|
796
|
+
"userID": {
|
|
797
|
+
"description": "The ID of the user requesting the export.",
|
|
798
|
+
"type": "string"
|
|
799
|
+
},
|
|
800
|
+
"username": {
|
|
801
|
+
"description": "The name of the user requesting the export.",
|
|
802
|
+
"type": "string"
|
|
803
|
+
},
|
|
804
|
+
"versionName": {
|
|
805
|
+
"const": "DEFAULT",
|
|
806
|
+
"description": "The version name used by the export service.",
|
|
807
|
+
"type": "string",
|
|
808
|
+
"isRequired": "true"
|
|
809
|
+
},
|
|
810
|
+
"webMapUrl": {
|
|
811
|
+
"description": "The URL of the web map data to export.",
|
|
812
|
+
"type": "string"
|
|
813
|
+
}
|
|
814
|
+
}
|
|
815
|
+
```
|
|
816
|
+
|
|
817
|
+
Outputs: `global.Blob`
|
|
818
|
+
|
|
819
|
+
---
|
package/package.json
CHANGED
package/version.d.ts
CHANGED
package/version.js
CHANGED