@vertigis/viewer-spec 48.7.0 → 48.9.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/common.d.ts +1 -1
- package/messaging/registry/app.d.ts +50 -3
- package/messaging/registry/app.js +1 -1
- package/messaging/registry/drawing.d.ts +34 -4
- package/messaging/registry/drawing.js +1 -1
- package/messaging/registry/map.d.ts +20 -3
- package/messaging/registry/panel.d.ts +2 -4
- package/messaging/registry/sketching.d.ts +18 -1
- package/messaging/schema/common-action.schema.json +282 -1
- package/messaging/schema/mobile-action.schema.json +277 -3
- package/messaging/schema/mobile-event.schema.json +75 -0
- package/messaging/schema/web-action.schema.json +228 -6
- package/messaging/schema/web-event.schema.json +1 -1
- package/package.json +2 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
package/messaging/common.d.ts
CHANGED
|
@@ -6,6 +6,11 @@ import { EventRegistry } from "../EventRegistry.js";
|
|
|
6
6
|
import type { Operation } from "../Operation.js";
|
|
7
7
|
import { OperationRegistry } from "../OperationRegistry.js";
|
|
8
8
|
import type { Blob } from "../common.js";
|
|
9
|
+
/**
|
|
10
|
+
* Information about a specific app. Only available in the Geocortex Mobile Viewer.
|
|
11
|
+
*/
|
|
12
|
+
export interface GcxAppInfo {
|
|
13
|
+
}
|
|
9
14
|
/**
|
|
10
15
|
* Arguments for the app started events. Only available in the Geocortex Mobile Viewer.
|
|
11
16
|
*/
|
|
@@ -91,6 +96,25 @@ export declare class AppEvents extends EventRegistry {
|
|
|
91
96
|
* @mobileOnly
|
|
92
97
|
*/
|
|
93
98
|
get backgrounded(): Event;
|
|
99
|
+
/**
|
|
100
|
+
* Raised when the app is interrupted temporarily (eg. Pull down
|
|
101
|
+
* notifications, control center, or OS level prompt or alert).
|
|
102
|
+
*
|
|
103
|
+
* @mobileOnly
|
|
104
|
+
*/
|
|
105
|
+
get interrupted(): Event;
|
|
106
|
+
/**
|
|
107
|
+
* Raised when a custom app is started.
|
|
108
|
+
*
|
|
109
|
+
* @mobileOnly
|
|
110
|
+
*/
|
|
111
|
+
get customStarted(): Event<SpecificAppArgs>;
|
|
112
|
+
/**
|
|
113
|
+
* Raised when a generic app is started.
|
|
114
|
+
*
|
|
115
|
+
* @mobileOnly
|
|
116
|
+
*/
|
|
117
|
+
get genericAppStarted(): Event;
|
|
94
118
|
/**
|
|
95
119
|
* Raised when a specific app is started within the generic app.
|
|
96
120
|
*
|
|
@@ -98,12 +122,35 @@ export declare class AppEvents extends EventRegistry {
|
|
|
98
122
|
*/
|
|
99
123
|
get specificAppStarted(): Event<SpecificAppArgs>;
|
|
100
124
|
/**
|
|
101
|
-
* Raised when the app
|
|
102
|
-
* notifications, control center, or OS level prompt or alert).
|
|
125
|
+
* Raised when returning to the app selector screen from a specific app in Go.
|
|
103
126
|
*
|
|
104
127
|
* @mobileOnly
|
|
105
128
|
*/
|
|
106
|
-
get
|
|
129
|
+
get goingToAppSelector(): Event;
|
|
130
|
+
/**
|
|
131
|
+
* Raised when an app has been refreshed.
|
|
132
|
+
*
|
|
133
|
+
* @mobileOnly
|
|
134
|
+
*/
|
|
135
|
+
get refreshed(): Event<SpecificAppArgs>;
|
|
136
|
+
/**
|
|
137
|
+
* Raised when an app refresh is beginning.
|
|
138
|
+
*
|
|
139
|
+
* @mobileOnly
|
|
140
|
+
*/
|
|
141
|
+
get refreshing(): Event;
|
|
142
|
+
/**
|
|
143
|
+
* Raised when an app is favorited.
|
|
144
|
+
*
|
|
145
|
+
* @mobileOnly
|
|
146
|
+
*/
|
|
147
|
+
get favorited(): Event<GcxAppInfo>;
|
|
148
|
+
/**
|
|
149
|
+
* Raised when an app is unfavorited.
|
|
150
|
+
*
|
|
151
|
+
* @mobileOnly
|
|
152
|
+
*/
|
|
153
|
+
get unfavorited(): Event<GcxAppInfo>;
|
|
107
154
|
}
|
|
108
155
|
export declare class AppCustomEvents extends EventRegistry {
|
|
109
156
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{CommandRegistry}from"../CommandRegistry.js";import{EventRegistry}from"../EventRegistry.js";import{OperationRegistry}from"../OperationRegistry.js";export class AppCommands extends CommandRegistry{get goToAppSelector(){return this._messages.command("app.go-to-app-selector")}get refresh(){return this._messages.command("app.refresh")}get favorite(){return this._messages.command("app.favorite")}get unfavorite(){return this._messages.command("app.unfavorite")}get loadProject(){return this._messages.command("app.load-project")}}export class AppEvents extends EventRegistry{constructor(){super(...arguments),this.custom=new AppCustomEvents(this._messages),this.generic=new AppGenericEvents(this._messages)}get activated(){return this._messages.event("app.activated")}get backgrounded(){return this._messages.event("app.backgrounded")}get specificAppStarted(){return this._messages.event("app.specific-app-started")}get
|
|
1
|
+
import{CommandRegistry}from"../CommandRegistry.js";import{EventRegistry}from"../EventRegistry.js";import{OperationRegistry}from"../OperationRegistry.js";export class AppCommands extends CommandRegistry{get goToAppSelector(){return this._messages.command("app.go-to-app-selector")}get refresh(){return this._messages.command("app.refresh")}get favorite(){return this._messages.command("app.favorite")}get unfavorite(){return this._messages.command("app.unfavorite")}get loadProject(){return this._messages.command("app.load-project")}}export class AppEvents extends EventRegistry{constructor(){super(...arguments),this.custom=new AppCustomEvents(this._messages),this.generic=new AppGenericEvents(this._messages)}get activated(){return this._messages.event("app.activated")}get backgrounded(){return this._messages.event("app.backgrounded")}get interrupted(){return this._messages.event("app.interrupted")}get customStarted(){return this._messages.event("app.custom.started")}get genericAppStarted(){return this._messages.event("app.generic.started")}get specificAppStarted(){return this._messages.event("app.generic.specific-app-started")}get goingToAppSelector(){return this._messages.event("app.navigating-to-app-selector")}get refreshed(){return this._messages.event("app.refreshed")}get refreshing(){return this._messages.event("app.refreshing")}get favorited(){return this._messages.event("app.favorited")}get unfavorited(){return this._messages.event("app.unfavorited")}}export class AppCustomEvents extends EventRegistry{get started(){return this._messages.event("app.custom.started")}}export class AppGenericEvents extends EventRegistry{get started(){return this._messages.event("app.generic.started")}get appsListed(){return this._messages.event("app.generic.apps-listed")}}export class AppOperations extends OperationRegistry{get getVersion(){return this._messages.operation("app.get-version")}get createProject(){return this._messages.operation("app.create-project")}}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type Geometry from "@arcgis/core/geometry/Geometry";
|
|
1
2
|
import type LineSymbol3D from "@arcgis/core/symbols/LineSymbol3D";
|
|
2
3
|
import type PictureFillSymbol from "@arcgis/core/symbols/PictureFillSymbol";
|
|
3
4
|
import type PictureMarkerSymbol from "@arcgis/core/symbols/PictureMarkerSymbol";
|
|
@@ -22,6 +23,7 @@ import { CommandRegistry } from "../CommandRegistry.js";
|
|
|
22
23
|
import type { Operation } from "../Operation.js";
|
|
23
24
|
import { OperationRegistry } from "../OperationRegistry.js";
|
|
24
25
|
import type { CreateGraphicsResult, GeometryLike, HasFeatures, HasGraphics, HasLayers, HasMaps, HasSymbol, HasUITarget, SymbolLike } from "../common.js";
|
|
26
|
+
import type { CaptureGeometryArgs } from "./sketching.js";
|
|
25
27
|
/**
|
|
26
28
|
* Symbols supported for drawing.
|
|
27
29
|
*/
|
|
@@ -70,7 +72,31 @@ export interface EditSymbolResult extends HasMaps, HasLayers, HasGraphics, HasFe
|
|
|
70
72
|
*/
|
|
71
73
|
symbol: Symbol;
|
|
72
74
|
}
|
|
75
|
+
/**
|
|
76
|
+
* Arguments for the "drawing.create-graphics" operation. Only available in Mobile.
|
|
77
|
+
*/
|
|
78
|
+
export interface CreateGraphicsArgs {
|
|
79
|
+
/**
|
|
80
|
+
* The geometry that was captured.
|
|
81
|
+
*/
|
|
82
|
+
geometry: Geometry;
|
|
83
|
+
/**
|
|
84
|
+
* The symbol that should be used to create the graphic. If null, a default
|
|
85
|
+
* is provided.
|
|
86
|
+
*/
|
|
87
|
+
symbol?: Symbol;
|
|
88
|
+
}
|
|
73
89
|
export declare class DrawingCommands extends CommandRegistry {
|
|
90
|
+
/**
|
|
91
|
+
* Allows the user to draw on the map by capturing geometry, creating a
|
|
92
|
+
* graphic, and persisting the graphic on the map. This is a shortcut for
|
|
93
|
+
* the command chain ["sketching.capture-geometry",
|
|
94
|
+
* "drawing.create-graphics", "map.add-markup"]. Some default
|
|
95
|
+
* geometryEditorSettings are also applied.
|
|
96
|
+
*
|
|
97
|
+
* @mobileOnly
|
|
98
|
+
*/
|
|
99
|
+
get draw(): Command<CaptureGeometryArgs>;
|
|
74
100
|
/**
|
|
75
101
|
* Sets a value that determines whether drawings will be synced
|
|
76
102
|
* automatically across maps.
|
|
@@ -94,12 +120,16 @@ export declare class DrawingCommands extends CommandRegistry {
|
|
|
94
120
|
}
|
|
95
121
|
export declare class DrawingOperations extends OperationRegistry {
|
|
96
122
|
/**
|
|
97
|
-
* Creates graphics
|
|
98
|
-
* on the DrawManager.
|
|
123
|
+
* Creates graphics.
|
|
99
124
|
*
|
|
100
|
-
*
|
|
125
|
+
* In Web, creates graphics out of GeometryLike args, with the current
|
|
126
|
+
* symbols that are set on the DrawManager.
|
|
127
|
+
*
|
|
128
|
+
* In Mobile, creates graphics from the given CreateGraphicsArgs or
|
|
129
|
+
* CreateGraphicsArgs[] (or some GeometryLike args). Any provided symbol
|
|
130
|
+
* parameter is used, otherwise a default symbol is used.
|
|
101
131
|
*/
|
|
102
|
-
get createGraphics(): Operation<GeometryLike, CreateGraphicsResult>;
|
|
132
|
+
get createGraphics(): Operation<CreateGraphicsArgs | CreateGraphicsArgs[] | GeometryLike, CreateGraphicsResult>;
|
|
103
133
|
/**
|
|
104
134
|
* Gets the value of the default point, line, or polygon symbol for the
|
|
105
135
|
* provided geometry type.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{CommandRegistry}from"../CommandRegistry.js";import{OperationRegistry}from"../OperationRegistry.js";export class DrawingCommands extends CommandRegistry{get setSync(){return this._messages.command("drawing.set-sync")}get setDefaultSymbol(){return this._messages.command("drawing.set-default-symbol")}get setSymbol(){return this._messages.command("drawing.set-symbol")}}export class DrawingOperations extends OperationRegistry{get createGraphics(){return this._messages.operation("drawing.create-graphics")}get getDefaultSymbol(){return this._messages.operation("drawing.get-default-symbol")}get getDefaultSymbol3D(){return this._messages.operation("drawing.get-default-symbol-3d")}get editSymbol(){return this._messages.operation("drawing.edit-symbol")}}
|
|
1
|
+
import{CommandRegistry}from"../CommandRegistry.js";import{OperationRegistry}from"../OperationRegistry.js";export class DrawingCommands extends CommandRegistry{get draw(){return this._messages.command("drawing.draw")}get setSync(){return this._messages.command("drawing.set-sync")}get setDefaultSymbol(){return this._messages.command("drawing.set-default-symbol")}get setSymbol(){return this._messages.command("drawing.set-symbol")}}export class DrawingOperations extends OperationRegistry{get createGraphics(){return this._messages.operation("drawing.create-graphics")}get getDefaultSymbol(){return this._messages.operation("drawing.get-default-symbol")}get getDefaultSymbol3D(){return this._messages.operation("drawing.get-default-symbol-3d")}get editSymbol(){return this._messages.operation("drawing.edit-symbol")}}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type Graphic from "@arcgis/core/Graphic.js";
|
|
1
2
|
import type EsriMap from "@arcgis/core/Map";
|
|
2
3
|
import type Viewpoint from "@arcgis/core/Viewpoint";
|
|
3
4
|
import type Extent from "@arcgis/core/geometry/Extent";
|
|
@@ -11,6 +12,7 @@ import type { LayerExtension } from "@vertigis/arcgis-extensions/mapping/LayerEx
|
|
|
11
12
|
import type { MapExtension, ViewMode } from "@vertigis/arcgis-extensions/mapping/MapExtension";
|
|
12
13
|
import type { GeometryType } from "@vertigis/arcgis-extensions/portal/Geometry";
|
|
13
14
|
import type { OperationalLayer as OperationalLayerJson } from "@vertigis/arcgis-extensions/portal/OperationalLayer";
|
|
15
|
+
import type { Symbol as SymbolJson } from "@vertigis/arcgis-extensions/portal/Symbol";
|
|
14
16
|
import type { Action } from "@vertigis/arcgis-extensions/support/Action";
|
|
15
17
|
import type { PortalItemLike } from "@vertigis/arcgis-extensions/utilities/portal";
|
|
16
18
|
import type { Command } from "../Command.js";
|
|
@@ -583,7 +585,7 @@ export interface StartSketchArgs {
|
|
|
583
585
|
*/
|
|
584
586
|
retainEditorSettings: boolean;
|
|
585
587
|
/**
|
|
586
|
-
* The settings to be applied to the
|
|
588
|
+
* The settings to be applied to the sketch.
|
|
587
589
|
*/
|
|
588
590
|
editorSettings: GeometryEditorSettings;
|
|
589
591
|
/**
|
|
@@ -591,6 +593,19 @@ export interface StartSketchArgs {
|
|
|
591
593
|
* sketch. Default is no limit. Mobile only.
|
|
592
594
|
*/
|
|
593
595
|
maxSegments?: number;
|
|
596
|
+
/**
|
|
597
|
+
* An optional symbol to use.
|
|
598
|
+
*/
|
|
599
|
+
symbol?: SymbolJson;
|
|
600
|
+
}
|
|
601
|
+
/**
|
|
602
|
+
* Arguments for the "map.add-markup" operation. Only available in Mobile.
|
|
603
|
+
*/
|
|
604
|
+
export interface AddMarkupArgs {
|
|
605
|
+
/**
|
|
606
|
+
* The graphics to add to the map.
|
|
607
|
+
*/
|
|
608
|
+
graphics: Graphic[];
|
|
594
609
|
}
|
|
595
610
|
/**
|
|
596
611
|
* Result of the "map.get-coordinate-transformation" operation.
|
|
@@ -627,9 +642,11 @@ export declare class MapCommands extends CommandRegistry {
|
|
|
627
642
|
/**
|
|
628
643
|
* Adds markup to the map(s).
|
|
629
644
|
*
|
|
630
|
-
*
|
|
645
|
+
* In Web, uses GraphicsLike args.
|
|
646
|
+
*
|
|
647
|
+
* In Mobile, uses AddMarkupArgs or some GraphicsLike args.
|
|
631
648
|
*/
|
|
632
|
-
get addMarkup(): Command<GraphicsLike>;
|
|
649
|
+
get addMarkup(): Command<AddMarkupArgs | GraphicsLike>;
|
|
633
650
|
/**
|
|
634
651
|
* Add the specified layer(s) to the maps(s). Layers will be inserted in the
|
|
635
652
|
* order specified and will be added above existing layers in the drawing
|
|
@@ -82,15 +82,13 @@ export declare class PanelCommands extends CommandRegistry {
|
|
|
82
82
|
*/
|
|
83
83
|
get snapHostPanel(): Command<SnapHostPanelArgs>;
|
|
84
84
|
/**
|
|
85
|
-
* Closes the popout window for a panel and restores the original
|
|
86
|
-
* layout.
|
|
85
|
+
* Closes the popout window for a panel and restores the original layout.
|
|
87
86
|
*
|
|
88
87
|
* @webOnly
|
|
89
88
|
*/
|
|
90
89
|
get popIn(): Command<Model["id"] | Model>;
|
|
91
90
|
/**
|
|
92
|
-
* Removes a panel from the main layout and opens it in a new popout
|
|
93
|
-
* window.
|
|
91
|
+
* Removes a panel from the main layout and opens it in a new popout window.
|
|
94
92
|
*
|
|
95
93
|
* @webOnly
|
|
96
94
|
*/
|
|
@@ -224,6 +224,10 @@ export interface CaptureGeometryArgs {
|
|
|
224
224
|
* sketch. Default is no limit. Mobile only.
|
|
225
225
|
*/
|
|
226
226
|
maxSegments?: number;
|
|
227
|
+
/**
|
|
228
|
+
* The settings to be applied to the sketch. Mobile only.
|
|
229
|
+
*/
|
|
230
|
+
editorSettings?: GeometryEditorSettings;
|
|
227
231
|
}
|
|
228
232
|
/**
|
|
229
233
|
* Result of the "sketching.capture-geometry" operation.
|
|
@@ -521,7 +525,7 @@ export declare type EditorGeometryMode = "line" | "area";
|
|
|
521
525
|
*/
|
|
522
526
|
export declare type EditorInteractionMode = "centerCrosshair" | "freehand";
|
|
523
527
|
/**
|
|
524
|
-
* Settings for
|
|
528
|
+
* Settings for a sketch.
|
|
525
529
|
*/
|
|
526
530
|
export interface GeometryEditorSettings {
|
|
527
531
|
/**
|
|
@@ -540,6 +544,19 @@ export interface GeometryEditorSettings {
|
|
|
540
544
|
* The editor interaction mode.
|
|
541
545
|
*/
|
|
542
546
|
editorInteractionMode?: EditorInteractionMode;
|
|
547
|
+
/**
|
|
548
|
+
* A value indicating whether the sketch is using freehand or segment sketching.
|
|
549
|
+
*/
|
|
550
|
+
freehand?: boolean;
|
|
551
|
+
/**
|
|
552
|
+
* A value indicating whether the sketch should stop when double clicking.
|
|
553
|
+
*/
|
|
554
|
+
finishOnDoubleClick?: boolean;
|
|
555
|
+
/**
|
|
556
|
+
* A value indicating whether the sketch should commit its geometry if
|
|
557
|
+
* another sketch is activated.
|
|
558
|
+
*/
|
|
559
|
+
finishIfInterrupted?: boolean;
|
|
543
560
|
}
|
|
544
561
|
/**
|
|
545
562
|
* Result returned from the 'sketching.get-active-points' operation.
|
|
@@ -514,6 +514,23 @@
|
|
|
514
514
|
],
|
|
515
515
|
"type": "object"
|
|
516
516
|
},
|
|
517
|
+
"AddMarkupArgs": {
|
|
518
|
+
"additionalProperties": false,
|
|
519
|
+
"description": "Arguments for the \"map.add-markup\" operation. Only available in Mobile.",
|
|
520
|
+
"properties": {
|
|
521
|
+
"graphics": {
|
|
522
|
+
"description": "The graphics to add to the map.",
|
|
523
|
+
"items": {
|
|
524
|
+
"$ref": "#/definitions/esri.Graphic"
|
|
525
|
+
},
|
|
526
|
+
"type": "array"
|
|
527
|
+
}
|
|
528
|
+
},
|
|
529
|
+
"required": [
|
|
530
|
+
"graphics"
|
|
531
|
+
],
|
|
532
|
+
"type": "object"
|
|
533
|
+
},
|
|
517
534
|
"AddNodeOrder": {
|
|
518
535
|
"description": "Indicates whether a new point should be added before or after the active point in a sketch.",
|
|
519
536
|
"enum": [
|
|
@@ -599,6 +616,10 @@
|
|
|
599
616
|
"additionalProperties": false,
|
|
600
617
|
"description": "Arguments for the \"sketching.capture-geometry\" operation.",
|
|
601
618
|
"properties": {
|
|
619
|
+
"editorSettings": {
|
|
620
|
+
"$ref": "#/definitions/GeometryEditorSettings",
|
|
621
|
+
"description": "The settings to be applied to the sketch. Mobile only."
|
|
622
|
+
},
|
|
602
623
|
"geometryType": {
|
|
603
624
|
"anyOf": [
|
|
604
625
|
{
|
|
@@ -723,6 +744,24 @@
|
|
|
723
744
|
},
|
|
724
745
|
"type": "object"
|
|
725
746
|
},
|
|
747
|
+
"CreateGraphicsArgs": {
|
|
748
|
+
"additionalProperties": false,
|
|
749
|
+
"description": "Arguments for the \"drawing.create-graphics\" operation. Only available in Mobile.",
|
|
750
|
+
"properties": {
|
|
751
|
+
"geometry": {
|
|
752
|
+
"$ref": "#/definitions/esri.Geometry",
|
|
753
|
+
"description": "The geometry that was captured."
|
|
754
|
+
},
|
|
755
|
+
"symbol": {
|
|
756
|
+
"$ref": "#/definitions/esri.Symbol",
|
|
757
|
+
"description": "The symbol that should be used to create the graphic. If null, a default is provided."
|
|
758
|
+
}
|
|
759
|
+
},
|
|
760
|
+
"required": [
|
|
761
|
+
"geometry"
|
|
762
|
+
],
|
|
763
|
+
"type": "object"
|
|
764
|
+
},
|
|
726
765
|
"CreateGraphicsResult": {
|
|
727
766
|
"additionalProperties": false,
|
|
728
767
|
"description": "Result of the \"drawing.create-graphics\" and \"measurement.create-graphics\" operations.",
|
|
@@ -736,7 +775,7 @@
|
|
|
736
775
|
},
|
|
737
776
|
"maps": {
|
|
738
777
|
"$ref": "MapsLike",
|
|
739
|
-
"description": "The map that the graphics were created on."
|
|
778
|
+
"description": "The map that the graphics were created on. Only available in Web."
|
|
740
779
|
}
|
|
741
780
|
},
|
|
742
781
|
"required": [
|
|
@@ -1130,6 +1169,22 @@
|
|
|
1130
1169
|
},
|
|
1131
1170
|
"type": "object"
|
|
1132
1171
|
},
|
|
1172
|
+
"EditorGeometryMode": {
|
|
1173
|
+
"description": "The editor geometry mode.",
|
|
1174
|
+
"enum": [
|
|
1175
|
+
"area",
|
|
1176
|
+
"line"
|
|
1177
|
+
],
|
|
1178
|
+
"type": "string"
|
|
1179
|
+
},
|
|
1180
|
+
"EditorInteractionMode": {
|
|
1181
|
+
"description": "The editor interaction mode.",
|
|
1182
|
+
"enum": [
|
|
1183
|
+
"centerCrosshair",
|
|
1184
|
+
"freehand"
|
|
1185
|
+
],
|
|
1186
|
+
"type": "string"
|
|
1187
|
+
},
|
|
1133
1188
|
"Features": {
|
|
1134
1189
|
"anyOf": [
|
|
1135
1190
|
{
|
|
@@ -1297,6 +1352,41 @@
|
|
|
1297
1352
|
],
|
|
1298
1353
|
"type": "object"
|
|
1299
1354
|
},
|
|
1355
|
+
"GeometryEditorSettings": {
|
|
1356
|
+
"additionalProperties": false,
|
|
1357
|
+
"description": "Settings for a sketch.",
|
|
1358
|
+
"properties": {
|
|
1359
|
+
"editorGeometryMode": {
|
|
1360
|
+
"$ref": "#/definitions/EditorGeometryMode",
|
|
1361
|
+
"description": "The editor geometry mode."
|
|
1362
|
+
},
|
|
1363
|
+
"editorInteractionMode": {
|
|
1364
|
+
"$ref": "#/definitions/EditorInteractionMode",
|
|
1365
|
+
"description": "The editor interaction mode."
|
|
1366
|
+
},
|
|
1367
|
+
"finishIfInterrupted": {
|
|
1368
|
+
"description": "A value indicating whether the sketch should commit its geometry if another sketch is activated.",
|
|
1369
|
+
"type": "boolean"
|
|
1370
|
+
},
|
|
1371
|
+
"finishOnDoubleClick": {
|
|
1372
|
+
"description": "A value indicating whether the sketch should stop when double clicking.",
|
|
1373
|
+
"type": "boolean"
|
|
1374
|
+
},
|
|
1375
|
+
"freehand": {
|
|
1376
|
+
"description": "A value indicating whether the sketch is using freehand or segment sketching.",
|
|
1377
|
+
"type": "boolean"
|
|
1378
|
+
},
|
|
1379
|
+
"showBearings": {
|
|
1380
|
+
"description": "A value indicating whether bearing labels should be shown on the map.",
|
|
1381
|
+
"type": "boolean"
|
|
1382
|
+
},
|
|
1383
|
+
"snappingEnabled": {
|
|
1384
|
+
"description": "A value indicating whether snapping should be enabled.",
|
|
1385
|
+
"type": "boolean"
|
|
1386
|
+
}
|
|
1387
|
+
},
|
|
1388
|
+
"type": "object"
|
|
1389
|
+
},
|
|
1300
1390
|
"GeometryLike": {
|
|
1301
1391
|
"anyOf": [
|
|
1302
1392
|
{
|
|
@@ -2432,6 +2522,121 @@
|
|
|
2432
2522
|
"basemap.set:input": {
|
|
2433
2523
|
"$ref": "#/definitions/SetBasemapArgs"
|
|
2434
2524
|
},
|
|
2525
|
+
"drawing.create-graphics": {
|
|
2526
|
+
"description": "Creates graphics. In Web, creates graphics out of GeometryLike args, with the current symbols that are set on the DrawManager. In Mobile, creates graphics from the given CreateGraphicsArgs or CreateGraphicsArgs[] (or some GeometryLike args). Any provided symbol parameter is used, otherwise a default symbol is used.",
|
|
2527
|
+
"enum": [
|
|
2528
|
+
"drawing.create-graphics"
|
|
2529
|
+
]
|
|
2530
|
+
},
|
|
2531
|
+
"drawing.create-graphics:input": {
|
|
2532
|
+
"anyOf": [
|
|
2533
|
+
{
|
|
2534
|
+
"$ref": "#/definitions/esri.Geometry"
|
|
2535
|
+
},
|
|
2536
|
+
{
|
|
2537
|
+
"$ref": "#/definitions/esri.Graphic"
|
|
2538
|
+
},
|
|
2539
|
+
{
|
|
2540
|
+
"$ref": "#/definitions/esri.FeatureSet"
|
|
2541
|
+
},
|
|
2542
|
+
{
|
|
2543
|
+
"$ref": "#/definitions/esri.rest-api.Extent.Extent"
|
|
2544
|
+
},
|
|
2545
|
+
{
|
|
2546
|
+
"$ref": "#/definitions/esri.rest-api.Multipoint.Multipoint"
|
|
2547
|
+
},
|
|
2548
|
+
{
|
|
2549
|
+
"$ref": "#/definitions/esri.rest-api.Polygon.Polygon"
|
|
2550
|
+
},
|
|
2551
|
+
{
|
|
2552
|
+
"$ref": "#/definitions/esri.rest-api.Polyline.Polyline"
|
|
2553
|
+
},
|
|
2554
|
+
{
|
|
2555
|
+
"$ref": "#/definitions/esri.rest-api.Point.Point"
|
|
2556
|
+
},
|
|
2557
|
+
{
|
|
2558
|
+
"$ref": "#/definitions/esri.rest-api.Feature.Feature"
|
|
2559
|
+
},
|
|
2560
|
+
{
|
|
2561
|
+
"$ref": "@vertigis.arcgis-extensions.data.FeatureSet.FeatureSet"
|
|
2562
|
+
},
|
|
2563
|
+
{
|
|
2564
|
+
"$ref": "@vertigis.arcgis-extensions.data.Feature.Feature"
|
|
2565
|
+
},
|
|
2566
|
+
{
|
|
2567
|
+
"$ref": "@vertigis.arcgis-extensions.data.FeatureStream.FeatureStream"
|
|
2568
|
+
},
|
|
2569
|
+
{
|
|
2570
|
+
"$ref": "@vertigis.arcgis-extensions.data.FeatureList.FeatureList"
|
|
2571
|
+
},
|
|
2572
|
+
{
|
|
2573
|
+
"$ref": "#/definitions/CreateGraphicsResult"
|
|
2574
|
+
},
|
|
2575
|
+
{
|
|
2576
|
+
"items": {
|
|
2577
|
+
"anyOf": [
|
|
2578
|
+
{
|
|
2579
|
+
"$ref": "@vertigis.arcgis-extensions.data.Feature.Feature"
|
|
2580
|
+
},
|
|
2581
|
+
{
|
|
2582
|
+
"$ref": "@vertigis.arcgis-extensions.data.Feature.FeatureProperties"
|
|
2583
|
+
}
|
|
2584
|
+
]
|
|
2585
|
+
},
|
|
2586
|
+
"type": "array"
|
|
2587
|
+
},
|
|
2588
|
+
{
|
|
2589
|
+
"items": {
|
|
2590
|
+
"anyOf": [
|
|
2591
|
+
{
|
|
2592
|
+
"$ref": "#/definitions/esri.Graphic"
|
|
2593
|
+
},
|
|
2594
|
+
{
|
|
2595
|
+
"$ref": "#/definitions/esri.rest-api.Feature.Feature"
|
|
2596
|
+
}
|
|
2597
|
+
]
|
|
2598
|
+
},
|
|
2599
|
+
"type": "array"
|
|
2600
|
+
},
|
|
2601
|
+
{
|
|
2602
|
+
"items": {
|
|
2603
|
+
"anyOf": [
|
|
2604
|
+
{
|
|
2605
|
+
"$ref": "#/definitions/esri.Geometry"
|
|
2606
|
+
},
|
|
2607
|
+
{
|
|
2608
|
+
"$ref": "#/definitions/esri.rest-api.Extent.Extent"
|
|
2609
|
+
},
|
|
2610
|
+
{
|
|
2611
|
+
"$ref": "#/definitions/esri.rest-api.Multipoint.Multipoint"
|
|
2612
|
+
},
|
|
2613
|
+
{
|
|
2614
|
+
"$ref": "#/definitions/esri.rest-api.Polygon.Polygon"
|
|
2615
|
+
},
|
|
2616
|
+
{
|
|
2617
|
+
"$ref": "#/definitions/esri.rest-api.Polyline.Polyline"
|
|
2618
|
+
},
|
|
2619
|
+
{
|
|
2620
|
+
"$ref": "#/definitions/esri.rest-api.Point.Point"
|
|
2621
|
+
}
|
|
2622
|
+
]
|
|
2623
|
+
},
|
|
2624
|
+
"type": "array"
|
|
2625
|
+
},
|
|
2626
|
+
{
|
|
2627
|
+
"$ref": "#/definitions/CreateGraphicsArgs"
|
|
2628
|
+
},
|
|
2629
|
+
{
|
|
2630
|
+
"items": {
|
|
2631
|
+
"$ref": "#/definitions/CreateGraphicsArgs"
|
|
2632
|
+
},
|
|
2633
|
+
"type": "array"
|
|
2634
|
+
}
|
|
2635
|
+
]
|
|
2636
|
+
},
|
|
2637
|
+
"drawing.create-graphics:output": {
|
|
2638
|
+
"$ref": "#/definitions/CreateGraphicsResult"
|
|
2639
|
+
},
|
|
2435
2640
|
"drawing.set-sync": {
|
|
2436
2641
|
"description": "Sets a value that determines whether drawings will be synced automatically across maps.",
|
|
2437
2642
|
"enum": [
|
|
@@ -11085,6 +11290,44 @@
|
|
|
11085
11290
|
"highlights.remove:input": {
|
|
11086
11291
|
"$ref": "#/definitions/Features"
|
|
11087
11292
|
},
|
|
11293
|
+
"map.add-markup": {
|
|
11294
|
+
"description": "Adds markup to the map(s). In Web, uses GraphicsLike args. In Mobile, uses AddMarkupArgs or some GraphicsLike args.",
|
|
11295
|
+
"enum": [
|
|
11296
|
+
"map.add-markup"
|
|
11297
|
+
]
|
|
11298
|
+
},
|
|
11299
|
+
"map.add-markup:input": {
|
|
11300
|
+
"anyOf": [
|
|
11301
|
+
{
|
|
11302
|
+
"$ref": "#/definitions/esri.Graphic"
|
|
11303
|
+
},
|
|
11304
|
+
{
|
|
11305
|
+
"$ref": "#/definitions/esri.FeatureSet"
|
|
11306
|
+
},
|
|
11307
|
+
{
|
|
11308
|
+
"$ref": "#/definitions/esri.rest-api.Feature.Feature"
|
|
11309
|
+
},
|
|
11310
|
+
{
|
|
11311
|
+
"$ref": "#/definitions/CreateGraphicsResult"
|
|
11312
|
+
},
|
|
11313
|
+
{
|
|
11314
|
+
"items": {
|
|
11315
|
+
"anyOf": [
|
|
11316
|
+
{
|
|
11317
|
+
"$ref": "#/definitions/esri.Graphic"
|
|
11318
|
+
},
|
|
11319
|
+
{
|
|
11320
|
+
"$ref": "#/definitions/esri.rest-api.Feature.Feature"
|
|
11321
|
+
}
|
|
11322
|
+
]
|
|
11323
|
+
},
|
|
11324
|
+
"type": "array"
|
|
11325
|
+
},
|
|
11326
|
+
{
|
|
11327
|
+
"$ref": "#/definitions/AddMarkupArgs"
|
|
11328
|
+
}
|
|
11329
|
+
]
|
|
11330
|
+
},
|
|
11088
11331
|
"map.get-spatial-reference": {
|
|
11089
11332
|
"description": "If a map extension ID is specified, returns the spatial reference for that map. If no map extension ID is specified, returns the spatial reference of the first available map.",
|
|
11090
11333
|
"enum": [
|
|
@@ -12055,6 +12298,22 @@
|
|
|
12055
12298
|
],
|
|
12056
12299
|
"type": "object"
|
|
12057
12300
|
},
|
|
12301
|
+
{
|
|
12302
|
+
"additionalProperties": false,
|
|
12303
|
+
"properties": {
|
|
12304
|
+
"arguments": {
|
|
12305
|
+
"$ref": "#/definitions/map.add-markup:input"
|
|
12306
|
+
},
|
|
12307
|
+
"name": {
|
|
12308
|
+
"$ref": "#/definitions/map.add-markup"
|
|
12309
|
+
}
|
|
12310
|
+
},
|
|
12311
|
+
"required": [
|
|
12312
|
+
"name",
|
|
12313
|
+
"arguments"
|
|
12314
|
+
],
|
|
12315
|
+
"type": "object"
|
|
12316
|
+
},
|
|
12058
12317
|
{
|
|
12059
12318
|
"additionalProperties": false,
|
|
12060
12319
|
"properties": {
|
|
@@ -12565,6 +12824,9 @@
|
|
|
12565
12824
|
{
|
|
12566
12825
|
"$ref": "#/definitions/highlights.remove-focus"
|
|
12567
12826
|
},
|
|
12827
|
+
{
|
|
12828
|
+
"$ref": "#/definitions/map.add-markup"
|
|
12829
|
+
},
|
|
12568
12830
|
{
|
|
12569
12831
|
"$ref": "#/definitions/map.pan-to-features"
|
|
12570
12832
|
},
|
|
@@ -12688,6 +12950,22 @@
|
|
|
12688
12950
|
],
|
|
12689
12951
|
"type": "object"
|
|
12690
12952
|
},
|
|
12953
|
+
{
|
|
12954
|
+
"additionalProperties": false,
|
|
12955
|
+
"properties": {
|
|
12956
|
+
"arguments": {
|
|
12957
|
+
"$ref": "#/definitions/drawing.create-graphics:input"
|
|
12958
|
+
},
|
|
12959
|
+
"name": {
|
|
12960
|
+
"$ref": "#/definitions/drawing.create-graphics"
|
|
12961
|
+
}
|
|
12962
|
+
},
|
|
12963
|
+
"required": [
|
|
12964
|
+
"name",
|
|
12965
|
+
"arguments"
|
|
12966
|
+
],
|
|
12967
|
+
"type": "object"
|
|
12968
|
+
},
|
|
12691
12969
|
{
|
|
12692
12970
|
"additionalProperties": false,
|
|
12693
12971
|
"properties": {
|
|
@@ -12857,6 +13135,9 @@
|
|
|
12857
13135
|
{
|
|
12858
13136
|
"$ref": "#/definitions/basemap.get-current"
|
|
12859
13137
|
},
|
|
13138
|
+
{
|
|
13139
|
+
"$ref": "#/definitions/drawing.create-graphics"
|
|
13140
|
+
},
|
|
12860
13141
|
{
|
|
12861
13142
|
"$ref": "#/definitions/geolocation.get-current-state"
|
|
12862
13143
|
},
|