@vertigis/viewer-spec 43.5.0 → 43.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.
- package/messaging/registry/geometry.d.ts +167 -0
- package/messaging/registry/geometry.js +1 -1
- package/messaging/registry/sketching.d.ts +2 -0
- package/messaging/schema/common-action.schema.json +1 -1
- package/messaging/schema/mobile-action.schema.json +327 -1
- package/messaging/schema/web-action.schema.json +1 -1
- package/package.json +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import type Geometry from "@arcgis/core/geometry/Geometry";
|
|
2
|
+
import type Point from "@arcgis/core/geometry/Point";
|
|
3
|
+
import type Polygon from "@arcgis/core/geometry/Polygon";
|
|
4
|
+
import type Polyline from "@arcgis/core/geometry/Polyline";
|
|
2
5
|
import type SpatialReference from "@arcgis/core/geometry/SpatialReference";
|
|
3
6
|
import type GeographicTransformation from "@arcgis/core/geometry/support/GeographicTransformation";
|
|
4
7
|
import type { Command } from "../Command.js";
|
|
@@ -29,6 +32,10 @@ export interface ProjectArgs {
|
|
|
29
32
|
* The units for distance buffers supported by ArcGIS.
|
|
30
33
|
*/
|
|
31
34
|
export declare type LengthUnits = "meters" | "feet" | "kilometers" | "miles" | "nautical-miles" | "yards";
|
|
35
|
+
/**
|
|
36
|
+
* The units for distance supported by Mobile.
|
|
37
|
+
*/
|
|
38
|
+
export declare type LengthUnitsMobile = LengthUnits | "millimeters" | "centimeters" | "inches" | "mm" | "cm" | "m" | "km" | "in" | "ft" | "yd" | "mi" | "nm";
|
|
32
39
|
/**
|
|
33
40
|
* The result of a geometry.buffer operation.
|
|
34
41
|
*/
|
|
@@ -42,6 +49,142 @@ export interface BufferResult {
|
|
|
42
49
|
*/
|
|
43
50
|
maps?: MapsLike;
|
|
44
51
|
}
|
|
52
|
+
/**
|
|
53
|
+
* Arguments for the geometry.add-point operation.
|
|
54
|
+
*/
|
|
55
|
+
export interface AddPointArgs {
|
|
56
|
+
/**
|
|
57
|
+
* The starting geometry.
|
|
58
|
+
*/
|
|
59
|
+
geometry: Polyline | Polygon;
|
|
60
|
+
/**
|
|
61
|
+
* The index of the part to which the point will be added.
|
|
62
|
+
* If null, the last part will be used.
|
|
63
|
+
*/
|
|
64
|
+
partIndex?: number;
|
|
65
|
+
/**
|
|
66
|
+
* The index at which the point will be added.
|
|
67
|
+
* If null, the point will be added as the last point.
|
|
68
|
+
*/
|
|
69
|
+
pointIndex?: number;
|
|
70
|
+
/**
|
|
71
|
+
* The new point to be added to 'geometry'. The spatial reference must
|
|
72
|
+
* match 'geometry' or an error will be thrown.
|
|
73
|
+
*/
|
|
74
|
+
newPoint: Point;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Arguments for the geometry.add-part operation.
|
|
78
|
+
*/
|
|
79
|
+
export interface AddPartArgs {
|
|
80
|
+
/**
|
|
81
|
+
* The starting geometry.
|
|
82
|
+
*/
|
|
83
|
+
geometry: Polyline | Polygon;
|
|
84
|
+
/**
|
|
85
|
+
* The new part to be added to 'geometry'.
|
|
86
|
+
*/
|
|
87
|
+
part: Point[];
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* A reference line used by the geometry.get-point operation.
|
|
91
|
+
*/
|
|
92
|
+
export interface ReferenceLine {
|
|
93
|
+
/**
|
|
94
|
+
* The geometry that contains the reference line.
|
|
95
|
+
*/
|
|
96
|
+
geometry: Polyline | Polygon;
|
|
97
|
+
/**
|
|
98
|
+
* The index of the part in 'geometry' that contains the reference line.
|
|
99
|
+
* If null, the last part will be used.
|
|
100
|
+
*/
|
|
101
|
+
partIndex?: number;
|
|
102
|
+
/**
|
|
103
|
+
* The index of the segment that will be used as the reference line.
|
|
104
|
+
* If null, the last segment will be used.
|
|
105
|
+
*/
|
|
106
|
+
segmentIndex?: number;
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* The different types of curves that can be used for geodetic distance
|
|
110
|
+
* calculations.
|
|
111
|
+
*/
|
|
112
|
+
export declare type GeodeticCurveType = "geodesic" | "loxodrome" | "normal-section" | "great-elliptic";
|
|
113
|
+
/**
|
|
114
|
+
* Arguments for the geometry.calculate-point operation.
|
|
115
|
+
*/
|
|
116
|
+
export interface CalculatePointArgs {
|
|
117
|
+
/**
|
|
118
|
+
* The units to be used for 'distance' and 'offset'.
|
|
119
|
+
* Defaults to the default units of the map.
|
|
120
|
+
*/
|
|
121
|
+
units: LengthUnitsMobile;
|
|
122
|
+
/**
|
|
123
|
+
* The reference line that will be used to calculate the new point.
|
|
124
|
+
*/
|
|
125
|
+
referenceLine: ReferenceLine;
|
|
126
|
+
/**
|
|
127
|
+
* The distance that will be used to calculate the new point.
|
|
128
|
+
*
|
|
129
|
+
* If using 'offset', this indicates the distance along
|
|
130
|
+
* the reference line.
|
|
131
|
+
*
|
|
132
|
+
* If using 'angle', this indicates the distance directly
|
|
133
|
+
* from the new point to the start point of the reference line.
|
|
134
|
+
*
|
|
135
|
+
* Cannot be negative.
|
|
136
|
+
*/
|
|
137
|
+
distance: number;
|
|
138
|
+
/**
|
|
139
|
+
* The offset that will be used to calculate the new point.
|
|
140
|
+
* The 'offset' corresponds to the distance perpendicularly away from the
|
|
141
|
+
* reference line.
|
|
142
|
+
*
|
|
143
|
+
* Positive values will result in a point to the right of the reference
|
|
144
|
+
* line, negative values will be to the left.
|
|
145
|
+
*
|
|
146
|
+
* Exactly one of 'offset' and 'angle' must be set.
|
|
147
|
+
*/
|
|
148
|
+
offset?: number;
|
|
149
|
+
/**
|
|
150
|
+
* The angle, relative to the angle of the reference line, that
|
|
151
|
+
* will be used to calculate the new point. Positive angles are
|
|
152
|
+
* calculated clockwise from the angle of the reference line,
|
|
153
|
+
* negative angles are calculated counter-clockwise.
|
|
154
|
+
*
|
|
155
|
+
* Exactly one of 'offset' and 'angle' must be set.
|
|
156
|
+
*/
|
|
157
|
+
angle?: number;
|
|
158
|
+
/**
|
|
159
|
+
* Gets or sets a value indicating whether the distance calculations will
|
|
160
|
+
* be geodetic or planar. Defaults to true.
|
|
161
|
+
*/
|
|
162
|
+
geodetic?: boolean;
|
|
163
|
+
/**
|
|
164
|
+
* Gets or sets the geodetic curve type used when calculating the new point.
|
|
165
|
+
* Only applies when 'geodetic' is true. Defaults to 'geodesic'.
|
|
166
|
+
*/
|
|
167
|
+
geodeticCurveType: GeodeticCurveType;
|
|
168
|
+
}
|
|
169
|
+
/**
|
|
170
|
+
* Arguments for the geometry.remove-point operation.
|
|
171
|
+
*/
|
|
172
|
+
export interface RemovePointArgs {
|
|
173
|
+
/**
|
|
174
|
+
* The starting geometry.
|
|
175
|
+
*/
|
|
176
|
+
geometry: Polyline | Polygon;
|
|
177
|
+
/**
|
|
178
|
+
* The index of the part from which the point will be removed.
|
|
179
|
+
* If null, the last part will be used.
|
|
180
|
+
*/
|
|
181
|
+
partIndex?: number;
|
|
182
|
+
/**
|
|
183
|
+
* The index of the point to be removed.
|
|
184
|
+
* If null, the last point wil be removed.
|
|
185
|
+
*/
|
|
186
|
+
pointIndex?: number;
|
|
187
|
+
}
|
|
45
188
|
export declare class GeometryOperations extends OperationRegistry {
|
|
46
189
|
/**
|
|
47
190
|
* Projects a set of geometries to a new spatial reference.
|
|
@@ -76,6 +219,30 @@ export declare class GeometryOperations extends OperationRegistry {
|
|
|
76
219
|
* @webOnly
|
|
77
220
|
*/
|
|
78
221
|
get getBufferUnits(): Operation<void, LengthUnits>;
|
|
222
|
+
/**
|
|
223
|
+
* Adds a point to a given geometry.
|
|
224
|
+
*
|
|
225
|
+
* @mobileOnly
|
|
226
|
+
*/
|
|
227
|
+
get addPoint(): Operation<AddPointArgs, Geometry>;
|
|
228
|
+
/**
|
|
229
|
+
* Adds a part to a given geometry.
|
|
230
|
+
*
|
|
231
|
+
* @mobileOnly
|
|
232
|
+
*/
|
|
233
|
+
get addPart(): Operation<AddPartArgs, Geometry>;
|
|
234
|
+
/**
|
|
235
|
+
* Calculates a point relative to a given reference line.
|
|
236
|
+
*
|
|
237
|
+
* @mobileOnly
|
|
238
|
+
*/
|
|
239
|
+
get calculatePoint(): Operation<CalculatePointArgs, Point>;
|
|
240
|
+
/**
|
|
241
|
+
* Removes a point from a given geometry.
|
|
242
|
+
*
|
|
243
|
+
* @mobileOnly
|
|
244
|
+
*/
|
|
245
|
+
get removePoint(): Operation<RemovePointArgs, Geometry>;
|
|
79
246
|
}
|
|
80
247
|
export declare class GeometryCommands extends CommandRegistry {
|
|
81
248
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{CommandRegistry}from"../CommandRegistry.js";import{OperationRegistry}from"../OperationRegistry.js";export class GeometryOperations extends OperationRegistry{get project(){return this._messages.operation("geometry.project")}get addPixelTolerance(){return this._messages.operation("geometry.add-pixel-tolerance")}get buffer(){return this._messages.operation("geometry.buffer")}get getBufferDistance(){return this._messages.operation("geometry.get-buffer-distance")}get getBufferUnits(){return this._messages.operation("geometry.get-buffer-units")}}export class GeometryCommands extends CommandRegistry{get setBufferDistance(){return this._messages.command("geometry.set-buffer-distance")}get setBufferUnits(){return this._messages.command("geometry.set-buffer-units")}get showSettings(){return this._messages.command("geometry.show-settings")}}
|
|
1
|
+
import{CommandRegistry}from"../CommandRegistry.js";import{OperationRegistry}from"../OperationRegistry.js";export class GeometryOperations extends OperationRegistry{get project(){return this._messages.operation("geometry.project")}get addPixelTolerance(){return this._messages.operation("geometry.add-pixel-tolerance")}get buffer(){return this._messages.operation("geometry.buffer")}get getBufferDistance(){return this._messages.operation("geometry.get-buffer-distance")}get getBufferUnits(){return this._messages.operation("geometry.get-buffer-units")}get addPoint(){return this._messages.operation("geometry.add-point")}get addPart(){return this._messages.operation("geometry.add-part")}get calculatePoint(){return this._messages.operation("geometry.calculate-point")}get removePoint(){return this._messages.operation("geometry.remove-point")}}export class GeometryCommands extends CommandRegistry{get setBufferDistance(){return this._messages.command("geometry.set-buffer-distance")}get setBufferUnits(){return this._messages.command("geometry.set-buffer-units")}get showSettings(){return this._messages.command("geometry.show-settings")}}
|
|
@@ -456,6 +456,8 @@ export declare class SketchingOperations extends OperationRegistry {
|
|
|
456
456
|
/**
|
|
457
457
|
* Adds a point to a given polyline or polygon geometry. Returns the
|
|
458
458
|
* resulting geometry.
|
|
459
|
+
*
|
|
460
|
+
* Deprecated in Mobile, use geometry.add-point instead.
|
|
459
461
|
*/
|
|
460
462
|
get addNodeToGeometry(): Operation<AddNodeToGeometryArgs, Geometry>;
|
|
461
463
|
/**
|
|
@@ -11124,7 +11124,7 @@
|
|
|
11124
11124
|
]
|
|
11125
11125
|
},
|
|
11126
11126
|
"sketching.add-node-to-geometry": {
|
|
11127
|
-
"description": "Adds a point to a given polyline or polygon geometry. Returns the resulting geometry.",
|
|
11127
|
+
"description": "Adds a point to a given polyline or polygon geometry. Returns the resulting geometry. Deprecated in Mobile, use geometry.add-point instead.",
|
|
11128
11128
|
"enum": [
|
|
11129
11129
|
"sketching.add-node-to-geometry"
|
|
11130
11130
|
]
|
|
@@ -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
|
]
|
|
@@ -15015,6 +15265,70 @@
|
|
|
15015
15265
|
],
|
|
15016
15266
|
"type": "object"
|
|
15017
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
|
+
},
|
|
15018
15332
|
{
|
|
15019
15333
|
"additionalProperties": false,
|
|
15020
15334
|
"properties": {
|
|
@@ -15519,6 +15833,18 @@
|
|
|
15519
15833
|
{
|
|
15520
15834
|
"$ref": "#/definitions/geolocation.get-position"
|
|
15521
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
|
+
},
|
|
15522
15848
|
{
|
|
15523
15849
|
"$ref": "#/definitions/map.export-image"
|
|
15524
15850
|
},
|
|
@@ -16543,7 +16543,7 @@
|
|
|
16543
16543
|
]
|
|
16544
16544
|
},
|
|
16545
16545
|
"sketching.add-node-to-geometry": {
|
|
16546
|
-
"description": "Adds a point to a given polyline or polygon geometry. Returns the resulting geometry.",
|
|
16546
|
+
"description": "Adds a point to a given polyline or polygon geometry. Returns the resulting geometry. Deprecated in Mobile, use geometry.add-point instead.",
|
|
16547
16547
|
"enum": [
|
|
16548
16548
|
"sketching.add-node-to-geometry"
|
|
16549
16549
|
]
|
package/package.json
CHANGED
package/version.d.ts
CHANGED
package/version.js
CHANGED