@vertigis/viewer-spec 43.4.1 → 45.0.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/layout/schema/layout-web.xsd +43 -0
- package/messaging/Operation.d.ts +22 -0
- package/messaging/registry/Operations.d.ts +2 -0
- package/messaging/registry/Operations.js +1 -1
- package/messaging/registry/arcade.d.ts +100 -0
- package/messaging/registry/arcade.js +1 -0
- package/messaging/registry/geometry.d.ts +174 -7
- package/messaging/registry/geometry.js +1 -1
- package/messaging/registry/measurement.d.ts +7 -7
- package/messaging/registry/measurement.js +1 -1
- package/messaging/registry/sketching.d.ts +48 -4
- package/messaging/registry/sketching.js +1 -1
- package/messaging/schema/common-action.schema.json +10 -3
- package/messaging/schema/mobile-action.schema.json +336 -3
- package/messaging/schema/web-action.schema.json +211 -23
- package/package.json +3 -3
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -506,6 +506,69 @@
|
|
|
506
506
|
],
|
|
507
507
|
"type": "object"
|
|
508
508
|
},
|
|
509
|
+
"AddPartArgs": {
|
|
510
|
+
"additionalProperties": false,
|
|
511
|
+
"description": "Arguments for the geometry.add-part operation.",
|
|
512
|
+
"properties": {
|
|
513
|
+
"geometry": {
|
|
514
|
+
"anyOf": [
|
|
515
|
+
{
|
|
516
|
+
"$ref": "#/definitions/esri.Polygon"
|
|
517
|
+
},
|
|
518
|
+
{
|
|
519
|
+
"$ref": "#/definitions/esri.Polyline"
|
|
520
|
+
}
|
|
521
|
+
],
|
|
522
|
+
"description": "The starting geometry."
|
|
523
|
+
},
|
|
524
|
+
"part": {
|
|
525
|
+
"description": "The new part to be added to 'geometry'.",
|
|
526
|
+
"items": {
|
|
527
|
+
"$ref": "#/definitions/esri.Point"
|
|
528
|
+
},
|
|
529
|
+
"type": "array"
|
|
530
|
+
}
|
|
531
|
+
},
|
|
532
|
+
"required": [
|
|
533
|
+
"geometry",
|
|
534
|
+
"part"
|
|
535
|
+
],
|
|
536
|
+
"type": "object"
|
|
537
|
+
},
|
|
538
|
+
"AddPointArgs": {
|
|
539
|
+
"additionalProperties": false,
|
|
540
|
+
"description": "Arguments for the geometry.add-point operation.",
|
|
541
|
+
"properties": {
|
|
542
|
+
"geometry": {
|
|
543
|
+
"anyOf": [
|
|
544
|
+
{
|
|
545
|
+
"$ref": "#/definitions/esri.Polygon"
|
|
546
|
+
},
|
|
547
|
+
{
|
|
548
|
+
"$ref": "#/definitions/esri.Polyline"
|
|
549
|
+
}
|
|
550
|
+
],
|
|
551
|
+
"description": "The starting geometry."
|
|
552
|
+
},
|
|
553
|
+
"newPoint": {
|
|
554
|
+
"$ref": "#/definitions/esri.Point",
|
|
555
|
+
"description": "The new point to be added to 'geometry'. The spatial reference must match 'geometry' or an error will be thrown."
|
|
556
|
+
},
|
|
557
|
+
"partIndex": {
|
|
558
|
+
"description": "The index of the part to which the point will be added. If null, the last part will be used.",
|
|
559
|
+
"type": "number"
|
|
560
|
+
},
|
|
561
|
+
"pointIndex": {
|
|
562
|
+
"description": "The index at which the point will be added. If null, the point will be added as the last point.",
|
|
563
|
+
"type": "number"
|
|
564
|
+
}
|
|
565
|
+
},
|
|
566
|
+
"required": [
|
|
567
|
+
"geometry",
|
|
568
|
+
"newPoint"
|
|
569
|
+
],
|
|
570
|
+
"type": "object"
|
|
571
|
+
},
|
|
509
572
|
"AlertCommandArgs": {
|
|
510
573
|
"additionalProperties": false,
|
|
511
574
|
"description": "Arguments for the 'ui.alert' command.",
|
|
@@ -549,6 +612,47 @@
|
|
|
549
612
|
],
|
|
550
613
|
"type": "object"
|
|
551
614
|
},
|
|
615
|
+
"CalculatePointArgs": {
|
|
616
|
+
"additionalProperties": false,
|
|
617
|
+
"description": "Arguments for the geometry.calculate-point operation.",
|
|
618
|
+
"properties": {
|
|
619
|
+
"angle": {
|
|
620
|
+
"description": "The angle, relative to the angle of the reference line, that will be used to calculate the new point. Positive angles are calculated clockwise from the angle of the reference line, negative angles are calculated counter-clockwise. Exactly one of 'offset' and 'angle' must be set.",
|
|
621
|
+
"type": "number"
|
|
622
|
+
},
|
|
623
|
+
"distance": {
|
|
624
|
+
"description": "The distance that will be used to calculate the new point. If using 'offset', this indicates the distance along the reference line. If using 'angle', this indicates the distance directly from the new point to the start point of the reference line. Cannot be negative.",
|
|
625
|
+
"type": "number"
|
|
626
|
+
},
|
|
627
|
+
"geodetic": {
|
|
628
|
+
"description": "Gets or sets a value indicating whether the distance calculations will be geodetic or planar. Defaults to true.",
|
|
629
|
+
"type": "boolean"
|
|
630
|
+
},
|
|
631
|
+
"geodeticCurveType": {
|
|
632
|
+
"$ref": "#/definitions/GeodeticCurveType",
|
|
633
|
+
"description": "Gets or sets the geodetic curve type used when calculating the new point. Only applies when 'geodetic' is true. Defaults to 'geodesic'."
|
|
634
|
+
},
|
|
635
|
+
"offset": {
|
|
636
|
+
"description": "The offset that will be used to calculate the new point. The 'offset' corresponds to the distance perpendicularly away from the reference line. Positive values will result in a point to the right of the reference line, negative values will be to the left. Exactly one of 'offset' and 'angle' must be set.",
|
|
637
|
+
"type": "number"
|
|
638
|
+
},
|
|
639
|
+
"referenceLine": {
|
|
640
|
+
"$ref": "#/definitions/ReferenceLine",
|
|
641
|
+
"description": "The reference line that will be used to calculate the new point."
|
|
642
|
+
},
|
|
643
|
+
"units": {
|
|
644
|
+
"$ref": "#/definitions/LengthUnitsMobile",
|
|
645
|
+
"description": "The units to be used for 'distance' and 'offset'. Defaults to the default units of the map."
|
|
646
|
+
}
|
|
647
|
+
},
|
|
648
|
+
"required": [
|
|
649
|
+
"distance",
|
|
650
|
+
"geodeticCurveType",
|
|
651
|
+
"referenceLine",
|
|
652
|
+
"units"
|
|
653
|
+
],
|
|
654
|
+
"type": "object"
|
|
655
|
+
},
|
|
552
656
|
"CaptureGeometryArgs": {
|
|
553
657
|
"additionalProperties": false,
|
|
554
658
|
"description": "Arguments for the \"sketching.capture-geometry\" operation.",
|
|
@@ -1185,6 +1289,16 @@
|
|
|
1185
1289
|
],
|
|
1186
1290
|
"type": "object"
|
|
1187
1291
|
},
|
|
1292
|
+
"GeodeticCurveType": {
|
|
1293
|
+
"description": "The different types of curves that can be used for geodetic distance calculations.",
|
|
1294
|
+
"enum": [
|
|
1295
|
+
"geodesic",
|
|
1296
|
+
"great-elliptic",
|
|
1297
|
+
"loxodrome",
|
|
1298
|
+
"normal-section"
|
|
1299
|
+
],
|
|
1300
|
+
"type": "string"
|
|
1301
|
+
},
|
|
1188
1302
|
"GeolocateCurrentState": {
|
|
1189
1303
|
"additionalProperties": false,
|
|
1190
1304
|
"description": "Result for the \"geolocation.get-current-state\" operation.",
|
|
@@ -1592,6 +1706,30 @@
|
|
|
1592
1706
|
],
|
|
1593
1707
|
"type": "object"
|
|
1594
1708
|
},
|
|
1709
|
+
"LengthUnitsMobile": {
|
|
1710
|
+
"description": "The units for distance supported by Mobile.",
|
|
1711
|
+
"enum": [
|
|
1712
|
+
"centimeters",
|
|
1713
|
+
"cm",
|
|
1714
|
+
"feet",
|
|
1715
|
+
"ft",
|
|
1716
|
+
"in",
|
|
1717
|
+
"inches",
|
|
1718
|
+
"kilometers",
|
|
1719
|
+
"km",
|
|
1720
|
+
"m",
|
|
1721
|
+
"meters",
|
|
1722
|
+
"mi",
|
|
1723
|
+
"miles",
|
|
1724
|
+
"millimeters",
|
|
1725
|
+
"mm",
|
|
1726
|
+
"nautical-miles",
|
|
1727
|
+
"nm",
|
|
1728
|
+
"yards",
|
|
1729
|
+
"yd"
|
|
1730
|
+
],
|
|
1731
|
+
"type": "string"
|
|
1732
|
+
},
|
|
1595
1733
|
"MapExtensionArgs": {
|
|
1596
1734
|
"additionalProperties": false,
|
|
1597
1735
|
"description": "One or more map extensions.",
|
|
@@ -1850,6 +1988,64 @@
|
|
|
1850
1988
|
],
|
|
1851
1989
|
"type": "object"
|
|
1852
1990
|
},
|
|
1991
|
+
"ReferenceLine": {
|
|
1992
|
+
"additionalProperties": false,
|
|
1993
|
+
"description": "A reference line used by the geometry.get-point operation.",
|
|
1994
|
+
"properties": {
|
|
1995
|
+
"geometry": {
|
|
1996
|
+
"anyOf": [
|
|
1997
|
+
{
|
|
1998
|
+
"$ref": "#/definitions/esri.Polygon"
|
|
1999
|
+
},
|
|
2000
|
+
{
|
|
2001
|
+
"$ref": "#/definitions/esri.Polyline"
|
|
2002
|
+
}
|
|
2003
|
+
],
|
|
2004
|
+
"description": "The geometry that contains the reference line."
|
|
2005
|
+
},
|
|
2006
|
+
"partIndex": {
|
|
2007
|
+
"description": "The index of the part in 'geometry' that contains the reference line. If null, the last part will be used.",
|
|
2008
|
+
"type": "number"
|
|
2009
|
+
},
|
|
2010
|
+
"segmentIndex": {
|
|
2011
|
+
"description": "The index of the segment that will be used as the reference line. If null, the last segment will be used.",
|
|
2012
|
+
"type": "number"
|
|
2013
|
+
}
|
|
2014
|
+
},
|
|
2015
|
+
"required": [
|
|
2016
|
+
"geometry"
|
|
2017
|
+
],
|
|
2018
|
+
"type": "object"
|
|
2019
|
+
},
|
|
2020
|
+
"RemovePointArgs": {
|
|
2021
|
+
"additionalProperties": false,
|
|
2022
|
+
"description": "Arguments for the geometry.remove-point operation.",
|
|
2023
|
+
"properties": {
|
|
2024
|
+
"geometry": {
|
|
2025
|
+
"anyOf": [
|
|
2026
|
+
{
|
|
2027
|
+
"$ref": "#/definitions/esri.Polygon"
|
|
2028
|
+
},
|
|
2029
|
+
{
|
|
2030
|
+
"$ref": "#/definitions/esri.Polyline"
|
|
2031
|
+
}
|
|
2032
|
+
],
|
|
2033
|
+
"description": "The starting geometry."
|
|
2034
|
+
},
|
|
2035
|
+
"partIndex": {
|
|
2036
|
+
"description": "The index of the part from which the point will be removed. If null, the last part will be used.",
|
|
2037
|
+
"type": "number"
|
|
2038
|
+
},
|
|
2039
|
+
"pointIndex": {
|
|
2040
|
+
"description": "The index of the point to be removed. If null, the last point wil be removed.",
|
|
2041
|
+
"type": "number"
|
|
2042
|
+
}
|
|
2043
|
+
},
|
|
2044
|
+
"required": [
|
|
2045
|
+
"geometry"
|
|
2046
|
+
],
|
|
2047
|
+
"type": "object"
|
|
2048
|
+
},
|
|
1853
2049
|
"ReplaceMapArgs": {
|
|
1854
2050
|
"additionalProperties": false,
|
|
1855
2051
|
"description": "Arguments for the \"map.replace*\" operations.",
|
|
@@ -2681,9 +2877,15 @@
|
|
|
2681
2877
|
"esri.PointSymbol3D": {
|
|
2682
2878
|
"$ref": "esri/symbols/PointSymbol3D"
|
|
2683
2879
|
},
|
|
2880
|
+
"esri.Polygon": {
|
|
2881
|
+
"$ref": "esri/geometry/Polygon"
|
|
2882
|
+
},
|
|
2684
2883
|
"esri.PolygonSymbol3D": {
|
|
2685
2884
|
"$ref": "esri/symbols/PolygonSymbol3D"
|
|
2686
2885
|
},
|
|
2886
|
+
"esri.Polyline": {
|
|
2887
|
+
"$ref": "esri/geometry/Polyline"
|
|
2888
|
+
},
|
|
2687
2889
|
"esri.PopupTemplate": {
|
|
2688
2890
|
"$ref": "esri/PopupTemplate"
|
|
2689
2891
|
},
|
|
@@ -11592,6 +11794,54 @@
|
|
|
11592
11794
|
}
|
|
11593
11795
|
]
|
|
11594
11796
|
},
|
|
11797
|
+
"geometry.add-part": {
|
|
11798
|
+
"description": "Adds a part to a given geometry.",
|
|
11799
|
+
"enum": [
|
|
11800
|
+
"geometry.add-part"
|
|
11801
|
+
]
|
|
11802
|
+
},
|
|
11803
|
+
"geometry.add-part:input": {
|
|
11804
|
+
"$ref": "#/definitions/AddPartArgs"
|
|
11805
|
+
},
|
|
11806
|
+
"geometry.add-part:output": {
|
|
11807
|
+
"$ref": "#/definitions/esri.Geometry"
|
|
11808
|
+
},
|
|
11809
|
+
"geometry.add-point": {
|
|
11810
|
+
"description": "Adds a point to a given geometry.",
|
|
11811
|
+
"enum": [
|
|
11812
|
+
"geometry.add-point"
|
|
11813
|
+
]
|
|
11814
|
+
},
|
|
11815
|
+
"geometry.add-point:input": {
|
|
11816
|
+
"$ref": "#/definitions/AddPointArgs"
|
|
11817
|
+
},
|
|
11818
|
+
"geometry.add-point:output": {
|
|
11819
|
+
"$ref": "#/definitions/esri.Geometry"
|
|
11820
|
+
},
|
|
11821
|
+
"geometry.calculate-point": {
|
|
11822
|
+
"description": "Calculates a point relative to a given reference line.",
|
|
11823
|
+
"enum": [
|
|
11824
|
+
"geometry.calculate-point"
|
|
11825
|
+
]
|
|
11826
|
+
},
|
|
11827
|
+
"geometry.calculate-point:input": {
|
|
11828
|
+
"$ref": "#/definitions/CalculatePointArgs"
|
|
11829
|
+
},
|
|
11830
|
+
"geometry.calculate-point:output": {
|
|
11831
|
+
"$ref": "#/definitions/esri.Point"
|
|
11832
|
+
},
|
|
11833
|
+
"geometry.remove-point": {
|
|
11834
|
+
"description": "Removes a point from a given geometry.",
|
|
11835
|
+
"enum": [
|
|
11836
|
+
"geometry.remove-point"
|
|
11837
|
+
]
|
|
11838
|
+
},
|
|
11839
|
+
"geometry.remove-point:input": {
|
|
11840
|
+
"$ref": "#/definitions/RemovePointArgs"
|
|
11841
|
+
},
|
|
11842
|
+
"geometry.remove-point:output": {
|
|
11843
|
+
"$ref": "#/definitions/esri.Geometry"
|
|
11844
|
+
},
|
|
11595
11845
|
"highlights.add": {
|
|
11596
11846
|
"description": "Applies highlighting to one or more features.",
|
|
11597
11847
|
"enum": [
|
|
@@ -12693,7 +12943,7 @@
|
|
|
12693
12943
|
"type": "string"
|
|
12694
12944
|
},
|
|
12695
12945
|
"sketching.add-node-to-geometry": {
|
|
12696
|
-
"description": "Adds a point to a given polyline or polygon geometry. Returns the resulting geometry.",
|
|
12946
|
+
"description": "Adds a point to a given polyline or polygon geometry. Returns the resulting geometry. Deprecated in Mobile, use geometry.add-point instead.",
|
|
12697
12947
|
"enum": [
|
|
12698
12948
|
"sketching.add-node-to-geometry"
|
|
12699
12949
|
]
|
|
@@ -12735,7 +12985,7 @@
|
|
|
12735
12985
|
"$ref": "#/definitions/CaptureGeometryResult"
|
|
12736
12986
|
},
|
|
12737
12987
|
"sketching.delete": {
|
|
12738
|
-
"description": "
|
|
12988
|
+
"description": "If a point is supplied while a sketching or editing operation is active, the vertex at that point will be deleted from the current geometry. If no point is supplied and a geometry editing session is active, the entire geometry will be deleted.",
|
|
12739
12989
|
"enum": [
|
|
12740
12990
|
"sketching.delete"
|
|
12741
12991
|
]
|
|
@@ -12798,7 +13048,14 @@
|
|
|
12798
13048
|
]
|
|
12799
13049
|
},
|
|
12800
13050
|
"sketching.stop:input": {
|
|
12801
|
-
"
|
|
13051
|
+
"anyOf": [
|
|
13052
|
+
{
|
|
13053
|
+
"$ref": "#/definitions/StopGeometryEditArgs"
|
|
13054
|
+
},
|
|
13055
|
+
{
|
|
13056
|
+
"type": "null"
|
|
13057
|
+
}
|
|
13058
|
+
]
|
|
12802
13059
|
},
|
|
12803
13060
|
"sketching.stop:output": {
|
|
12804
13061
|
"$ref": "#/definitions/CaptureGeometryResult"
|
|
@@ -15008,6 +15265,70 @@
|
|
|
15008
15265
|
],
|
|
15009
15266
|
"type": "object"
|
|
15010
15267
|
},
|
|
15268
|
+
{
|
|
15269
|
+
"additionalProperties": false,
|
|
15270
|
+
"properties": {
|
|
15271
|
+
"arguments": {
|
|
15272
|
+
"$ref": "#/definitions/geometry.add-part:input"
|
|
15273
|
+
},
|
|
15274
|
+
"name": {
|
|
15275
|
+
"$ref": "#/definitions/geometry.add-part"
|
|
15276
|
+
}
|
|
15277
|
+
},
|
|
15278
|
+
"required": [
|
|
15279
|
+
"name",
|
|
15280
|
+
"arguments"
|
|
15281
|
+
],
|
|
15282
|
+
"type": "object"
|
|
15283
|
+
},
|
|
15284
|
+
{
|
|
15285
|
+
"additionalProperties": false,
|
|
15286
|
+
"properties": {
|
|
15287
|
+
"arguments": {
|
|
15288
|
+
"$ref": "#/definitions/geometry.add-point:input"
|
|
15289
|
+
},
|
|
15290
|
+
"name": {
|
|
15291
|
+
"$ref": "#/definitions/geometry.add-point"
|
|
15292
|
+
}
|
|
15293
|
+
},
|
|
15294
|
+
"required": [
|
|
15295
|
+
"name",
|
|
15296
|
+
"arguments"
|
|
15297
|
+
],
|
|
15298
|
+
"type": "object"
|
|
15299
|
+
},
|
|
15300
|
+
{
|
|
15301
|
+
"additionalProperties": false,
|
|
15302
|
+
"properties": {
|
|
15303
|
+
"arguments": {
|
|
15304
|
+
"$ref": "#/definitions/geometry.calculate-point:input"
|
|
15305
|
+
},
|
|
15306
|
+
"name": {
|
|
15307
|
+
"$ref": "#/definitions/geometry.calculate-point"
|
|
15308
|
+
}
|
|
15309
|
+
},
|
|
15310
|
+
"required": [
|
|
15311
|
+
"name",
|
|
15312
|
+
"arguments"
|
|
15313
|
+
],
|
|
15314
|
+
"type": "object"
|
|
15315
|
+
},
|
|
15316
|
+
{
|
|
15317
|
+
"additionalProperties": false,
|
|
15318
|
+
"properties": {
|
|
15319
|
+
"arguments": {
|
|
15320
|
+
"$ref": "#/definitions/geometry.remove-point:input"
|
|
15321
|
+
},
|
|
15322
|
+
"name": {
|
|
15323
|
+
"$ref": "#/definitions/geometry.remove-point"
|
|
15324
|
+
}
|
|
15325
|
+
},
|
|
15326
|
+
"required": [
|
|
15327
|
+
"name",
|
|
15328
|
+
"arguments"
|
|
15329
|
+
],
|
|
15330
|
+
"type": "object"
|
|
15331
|
+
},
|
|
15011
15332
|
{
|
|
15012
15333
|
"additionalProperties": false,
|
|
15013
15334
|
"properties": {
|
|
@@ -15512,6 +15833,18 @@
|
|
|
15512
15833
|
{
|
|
15513
15834
|
"$ref": "#/definitions/geolocation.get-position"
|
|
15514
15835
|
},
|
|
15836
|
+
{
|
|
15837
|
+
"$ref": "#/definitions/geometry.add-part"
|
|
15838
|
+
},
|
|
15839
|
+
{
|
|
15840
|
+
"$ref": "#/definitions/geometry.add-point"
|
|
15841
|
+
},
|
|
15842
|
+
{
|
|
15843
|
+
"$ref": "#/definitions/geometry.calculate-point"
|
|
15844
|
+
},
|
|
15845
|
+
{
|
|
15846
|
+
"$ref": "#/definitions/geometry.remove-point"
|
|
15847
|
+
},
|
|
15515
15848
|
{
|
|
15516
15849
|
"$ref": "#/definitions/map.export-image"
|
|
15517
15850
|
},
|