@vertigis/viewer-spec 51.12.0 → 51.13.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.
@@ -1,4 +1,4 @@
1
- import type Geometry from "@arcgis/core/geometry/Geometry";
1
+ import type Geometry from "@arcgis/core/geometry/Geometry.js";
2
2
  import type LineSymbol3D from "@arcgis/core/symbols/LineSymbol3D";
3
3
  import type PictureFillSymbol from "@arcgis/core/symbols/PictureFillSymbol";
4
4
  import type PictureMarkerSymbol from "@arcgis/core/symbols/PictureMarkerSymbol";
@@ -22,7 +22,7 @@ import type { Command } from "../Command.js";
22
22
  import { CommandRegistry } from "../CommandRegistry.js";
23
23
  import type { Operation } from "../Operation.js";
24
24
  import { OperationRegistry } from "../OperationRegistry.js";
25
- import type { CreateGraphicsResult, GeometryLike, HasFeatures, HasGraphics, HasLayers, HasMaps, HasSymbol, HasUITarget, SymbolLike } from "../common.js";
25
+ import type { CreateGraphicsResult, FeaturesLike, GeometryLike, HasFeatures, HasGraphics, HasLayers, HasMaps, HasSymbol, HasUITarget, SymbolLike } from "../common.js";
26
26
  import type { CaptureGeometryArgs } from "./sketching.js";
27
27
  /**
28
28
  * Symbols supported for drawing.
@@ -76,19 +76,23 @@ export interface EditSymbolResult extends HasMaps, HasLayers, HasGraphics, HasFe
76
76
  symbol: Symbol;
77
77
  }
78
78
  /**
79
- * Arguments for the "drawing.create-graphics" operation. Only available in
80
- * Mobile.
79
+ * Arguments for the "drawing.create-graphics" operation. `GeometryLike`,
80
+ * `FeaturesLike` and `SymbolLike` are only available in Web.
81
81
  */
82
- export interface CreateGraphicsArgs {
82
+ export interface CreateGraphicsArgs extends HasMaps {
83
83
  /**
84
84
  * The geometry that was captured.
85
85
  */
86
- geometry: Geometry;
86
+ geometry: Geometry | GeometryLike;
87
+ /**
88
+ * Features containing geometry to create graphics from. Web only.
89
+ */
90
+ features?: FeaturesLike;
87
91
  /**
88
92
  * The symbol that should be used to create the graphic. If null, a default
89
93
  * is provided.
90
94
  */
91
- symbol?: Symbol;
95
+ symbol?: Symbol | SymbolLike;
92
96
  }
93
97
  export declare class DrawingCommands extends CommandRegistry {
94
98
  /**
@@ -126,8 +130,8 @@ export declare class DrawingOperations extends OperationRegistry {
126
130
  /**
127
131
  * Creates graphics.
128
132
  *
129
- * In Web, creates graphics out of GeometryLike args, with the current
130
- * symbols that are set on the DrawManager.
133
+ * In Web, creates graphics out of GeometryLike or CreateGraphicsArgs, with
134
+ * the current symbols that are set on the DrawManager.
131
135
  *
132
136
  * In Mobile, creates graphics from the given CreateGraphicsArgs or
133
137
  * CreateGraphicsArgs[] (or some GeometryLike args). Any provided symbol
@@ -26,6 +26,10 @@ import type { Features, FeaturesLike, Geometries, GeometryLike, GraphicsLike, Ha
26
26
  import type { EnhancedFileData } from "./file.js";
27
27
  import type { PortalItemData } from "./portal.js";
28
28
  import type { GeometryEditorSettings } from "./sketching.js";
29
+ /**
30
+ * Levels (z-orders) to which markup can be assigned, listed from high to low.
31
+ */
32
+ export type MarkupLevel = "ui" | "labels" | "custom3" | "custom2" | "custom1" | "default";
29
33
  /**
30
34
  * Arguments for the various map events.
31
35
  */
@@ -141,19 +145,88 @@ export interface GetExtentResult {
141
145
  */
142
146
  maps: MapsLike;
143
147
  }
148
+ /**
149
+ * Base arguments for markup commands and operations.
150
+ */
151
+ export interface MarkupArgs extends HasMaps {
152
+ /**
153
+ * The named collection of markup to operate on. If not specified the
154
+ * default markup collection will be used. Some markup collection names are
155
+ * used internally by Web:
156
+ *
157
+ * "default": The default markup layer.
158
+ *
159
+ * "vgs-active-snapping-guides": The active snap point when snapping.
160
+ *
161
+ * "vgs-buffer": Buffer graphics from OOTB buffer tools.
162
+ *
163
+ * "vgs-context-marker": Right click context marker on map.
164
+ *
165
+ * "vgs-dirty-indicator": Invalid geometry indicators used when editing.
166
+ *
167
+ * "vgs-editing-control": Edit frame and vertices while editing geometries.
168
+ *
169
+ * "vgs-location-accuracy": Location accuracy circle when geolocating.
170
+ *
171
+ * "vgs-location-marker-*": Location markers have this prefix followed by
172
+ * the marker id.
173
+ *
174
+ * "vgs-map-notes": Map Notes.
175
+ *
176
+ * "vgs-measurement-labels": Labels on measured graphics.
177
+ *
178
+ * "vgs-other-snapping-guides": Additional snapping point visualizations.
179
+ *
180
+ * "vgs-self-snaps": Used internally by snapping.
181
+ *
182
+ * "vgs-sketching": Temporary graphics used while drawing geometries.
183
+ *
184
+ * "vgs-snapping-radius": Snapping radius when snapping is active.
185
+ *
186
+ * "vgs-transient-measurement-labels": Measurement labels used while
187
+ * drawing.
188
+ *
189
+ * @webOnly
190
+ */
191
+ collection?: string;
192
+ }
193
+ /**
194
+ * Arguments for the "map.add-markup" command.
195
+ */
196
+ export interface AddMarkupArgs extends MarkupArgs {
197
+ /**
198
+ * The markup to add to the map. `GraphicsLike` is only available in Web.
199
+ */
200
+ graphics?: Graphic[] | GraphicsLike;
201
+ /**
202
+ * The level (z-order) to assign the markup to. If not specified uses the
203
+ * same level as default markup.
204
+ *
205
+ * @webOnly
206
+ */
207
+ level?: MarkupLevel;
208
+ }
209
+ /**
210
+ * Arguments for the "map.clear-markup" command.
211
+ *
212
+ * @webOnly
213
+ */
214
+ export interface ClearMarkupArgs extends MarkupArgs {
215
+ /**
216
+ * The markup to clear. If not specified will clear all markup in the
217
+ * selected collection.
218
+ */
219
+ graphics?: GraphicsLike;
220
+ }
144
221
  /**
145
222
  * Arguments for the "map.get-markup" operation.
146
223
  */
147
- export interface GetMarkupArgs {
224
+ export interface GetMarkupArgs extends MarkupArgs {
148
225
  /**
149
226
  * The geometry used to bound the retrieved markup. If not specified all
150
- * markup will be returned.
227
+ * markup in the selected collection will be returned.
151
228
  */
152
229
  geometry?: Geometry;
153
- /**
154
- * The associated map for the retrieved extent.
155
- */
156
- maps: MapsLike;
157
230
  }
158
231
  /**
159
232
  * Result of the "map.get-markup" operation.
@@ -621,15 +694,6 @@ export interface StartSketchArgs {
621
694
  */
622
695
  symbol?: SymbolJson;
623
696
  }
624
- /**
625
- * Arguments for the "map.add-markup" operation. Only available in Mobile.
626
- */
627
- export interface AddMarkupArgs {
628
- /**
629
- * The graphics to add to the map.
630
- */
631
- graphics: Graphic[];
632
- }
633
697
  /**
634
698
  * Result of the "map.get-coordinate-transformation" operation.
635
699
  */
@@ -704,10 +768,6 @@ export declare enum MarkupType {
704
768
  export declare class MapCommands extends CommandRegistry {
705
769
  /**
706
770
  * Adds markup to the map(s).
707
- *
708
- * In Web, uses GraphicsLike args.
709
- *
710
- * In Mobile, uses AddMarkupArgs or some GraphicsLike args.
711
771
  */
712
772
  get addMarkup(): Command<AddMarkupArgs | GraphicsLike>;
713
773
  /**
@@ -758,7 +818,7 @@ export declare class MapCommands extends CommandRegistry {
758
818
  /**
759
819
  * Clears all markup from the map(s).
760
820
  */
761
- get clearMarkup(): Command<Maps | void>;
821
+ get clearMarkup(): Command<ClearMarkupArgs | void>;
762
822
  /**
763
823
  * Disables the click event handler on the map, so that if the user clicks
764
824
  * on the map, the configured handler will not be invoked.
@@ -826,6 +886,13 @@ export declare class MapCommands extends CommandRegistry {
826
886
  * @mobileOnly
827
887
  */
828
888
  get hideExtentSelector(): Command<HasMaps>;
889
+ /**
890
+ * Show the specified markup collection, if hidden. If no collection is
891
+ * specified the default markup collection will be shown.
892
+ *
893
+ * @webOnly
894
+ */
895
+ get hideMarkup(): Command<MarkupArgs | void>;
829
896
  /**
830
897
  * Pans (without zooming) to one or many features on the targeted map(s).
831
898
  */
@@ -898,6 +965,13 @@ export declare class MapCommands extends CommandRegistry {
898
965
  * @webOnly
899
966
  */
900
967
  get setViewMode(): Command<ViewMode | SetViewModeArgs>;
968
+ /**
969
+ * Show the specified markup collection, if hidden. If no collection is
970
+ * specified the default markup collection will be shown.
971
+ *
972
+ * @webOnly
973
+ */
974
+ get showMarkup(): Command<MarkupArgs | void>;
901
975
  /**
902
976
  * Updates a layer in the map.
903
977
  *
@@ -1 +1 @@
1
- import{CommandRegistry as e}from"../CommandRegistry.js";import{EventRegistry as t}from"../EventRegistry.js";import{OperationRegistry as s}from"../OperationRegistry.js";export var MarkupType;!function(e){e.UNKNOWN="Unknown",e.POLYGON="Polygon",e.POLYLINE="Polyline",e.TEXT="Text",e.PICTURE_MARKER="PictureMarker",e.PICTURE_FILL="PictureFill",e.COMPOSITE="Composite",e.MULTI="Multi"}(MarkupType||(MarkupType={}));export class MapCommands extends e{get addMarkup(){return this._messages.command("map.add-markup")}get addLayers(){return this._messages.command("map.add-layers")}get applyFilterEffect(){return this._messages.command("map.apply-filter-effect")}get applyLayerPreset(){return this._messages.command("map.apply-layer-preset")}get createNote(){return this._messages.command("map.create-note")}get editNote(){return this._messages.command("map.edit-note")}get removeFilterEffects(){return this._messages.command("map.remove-filter-effects")}get clearFilterEffects(){return this._messages.command("map.clear-filter-effects")}get clearMarkup(){return this._messages.command("map.clear-markup")}get disableMapClick(){return this._messages.command("map.disable-map-click")}get displayExtentSelector(){return this._messages.command("map.display-extent-selector")}get enableMapClick(){return this._messages.command("map.enable-map-click")}get goToFeatures(){return this._messages.command("map.go-to-features")}get goToGeometry(){return this._messages.command("map.go-to-geometry")}get goToViewpoint(){return this._messages.command("map.go-to-viewpoint")}get goToScale(){return this._messages.command("map.go-to-scale")}get goToInitialViewpoint(){return this._messages.command("map.go-to-initial-viewpoint")}get goToLayerExtent(){return this._messages.command("map.go-to-layer-extent")}get hideExtentSelector(){return this._messages.command("map.hide-extent-selector")}get panToFeatures(){return this._messages.command("map.pan-to-features")}get panToGeometry(){return this._messages.command("map.pan-to-geometry")}get pauseSketch(){return this._messages.command("map.pause-sketch")}get removeLayers(){return this._messages.command("map.remove-layers")}get replace(){return this._messages.command("map.replace")}get replaceAdditionalLayers(){return this._messages.command("map.replace-additional-layers")}get replaceMmpk(){return this._messages.command("map.replace-mmpk")}get resumeSketch(){return this._messages.command("map.resume-sketch")}get rotateBy(){return this._messages.command("map.rotate-by")}get rotateTo(){return this._messages.command("map.rotate-to")}get refresh(){return this._messages.command("map.refresh")}get setViewMode(){return this._messages.command("map.set-view-mode")}get updateLayer(){return this._messages.command("map.update-layer")}get zoomToFeatures(){return this._messages.command("map.zoom-to-features")}get zoomToGeometry(){return this._messages.command("map.zoom-to-geometry")}get zoomIn(){return this._messages.command("map.zoom-in")}get zoomOut(){return this._messages.command("map.zoom-out")}get zoomToScale(){return this._messages.command("map.zoom-to-scale")}get zoomToInitialViewpoint(){return this._messages.command("map.zoom-to-initial-viewpoint")}get zoomToViewpoint(){return this._messages.command("map.zoom-to-viewpoint")}get zoomToLayerExtent(){return this._messages.command("map.zoom-to-layer-extent")}get zoomToLayerVisibleScale(){return this._messages.command("map.zoom-to-layer-visible-scale")}}export class MapEvents extends t{get initialized(){return this._messages.event("map.initialized")}get initializing(){return this._messages.event("map.initializing")}get markupAdded(){return this._messages.event("map.markup-added")}get markupCleared(){return this._messages.event("map.markup-cleared")}get navigationCompleted(){return this._messages.event("map.navigation-completed")}get refreshed(){return this._messages.event("map.refreshed")}get refreshing(){return this._messages.event("map.refreshing")}get rotated(){return this._messages.event("map.rotated")}get rotating(){return this._messages.event("map.rotating")}get switched(){return this._messages.event("map.switched")}get viewModeChanged(){return this._messages.event("map.view-mode-changed")}get viewpointChanged(){return this._messages.event("map.viewpoint-changed")}get imageExported(){return this._messages.event("map.image-exported")}}export class MapOperations extends s{get getUserCoordinatesInput(){return this._messages.operation("map.get-user-coordinates-input")}get getCoordinateTransformation(){return this._messages.operation("map.get-coordinate-transformation")}get exportImage(){return this._messages.operation("map.export-image")}get exportWebMapOrScene(){return this._messages.operation("map.export-web-map-or-scene")}get getMarkup(){return this._messages.operation("map.get-markup")}get getExtent(){return this._messages.operation("map.get-extent")}get getGeometryFromSelector(){return this._messages.operation("map.get-geometry-from-selector")}get getInitialViewpoint(){return this._messages.operation("map.get-initial-viewpoint")}get getViewpoint(){return this._messages.operation("map.get-viewpoint")}get getSpatialReference(){return this._messages.operation("map.get-spatial-reference")}get getVisibleCenter(){return this._messages.operation("map.get-visible-center")}get hide(){return this._messages.operation("map.hide")}get show(){return this._messages.operation("map.show")}get startSketch(){return this._messages.operation("map.start-sketch")}get stopSketch(){return this._messages.operation("map.stop-sketch")}get getViewInsets(){return this._messages.operation("map.get-view-insets")}}
1
+ import{CommandRegistry as e}from"../CommandRegistry.js";import{EventRegistry as t}from"../EventRegistry.js";import{OperationRegistry as s}from"../OperationRegistry.js";export var MarkupType;!function(e){e.UNKNOWN="Unknown",e.POLYGON="Polygon",e.POLYLINE="Polyline",e.TEXT="Text",e.PICTURE_MARKER="PictureMarker",e.PICTURE_FILL="PictureFill",e.COMPOSITE="Composite",e.MULTI="Multi"}(MarkupType||(MarkupType={}));export class MapCommands extends e{get addMarkup(){return this._messages.command("map.add-markup")}get addLayers(){return this._messages.command("map.add-layers")}get applyFilterEffect(){return this._messages.command("map.apply-filter-effect")}get applyLayerPreset(){return this._messages.command("map.apply-layer-preset")}get createNote(){return this._messages.command("map.create-note")}get editNote(){return this._messages.command("map.edit-note")}get removeFilterEffects(){return this._messages.command("map.remove-filter-effects")}get clearFilterEffects(){return this._messages.command("map.clear-filter-effects")}get clearMarkup(){return this._messages.command("map.clear-markup")}get disableMapClick(){return this._messages.command("map.disable-map-click")}get displayExtentSelector(){return this._messages.command("map.display-extent-selector")}get enableMapClick(){return this._messages.command("map.enable-map-click")}get goToFeatures(){return this._messages.command("map.go-to-features")}get goToGeometry(){return this._messages.command("map.go-to-geometry")}get goToViewpoint(){return this._messages.command("map.go-to-viewpoint")}get goToScale(){return this._messages.command("map.go-to-scale")}get goToInitialViewpoint(){return this._messages.command("map.go-to-initial-viewpoint")}get goToLayerExtent(){return this._messages.command("map.go-to-layer-extent")}get hideExtentSelector(){return this._messages.command("map.hide-extent-selector")}get hideMarkup(){return this._messages.command("map.hide-markup")}get panToFeatures(){return this._messages.command("map.pan-to-features")}get panToGeometry(){return this._messages.command("map.pan-to-geometry")}get pauseSketch(){return this._messages.command("map.pause-sketch")}get removeLayers(){return this._messages.command("map.remove-layers")}get replace(){return this._messages.command("map.replace")}get replaceAdditionalLayers(){return this._messages.command("map.replace-additional-layers")}get replaceMmpk(){return this._messages.command("map.replace-mmpk")}get resumeSketch(){return this._messages.command("map.resume-sketch")}get rotateBy(){return this._messages.command("map.rotate-by")}get rotateTo(){return this._messages.command("map.rotate-to")}get refresh(){return this._messages.command("map.refresh")}get setViewMode(){return this._messages.command("map.set-view-mode")}get showMarkup(){return this._messages.command("map.show-markup")}get updateLayer(){return this._messages.command("map.update-layer")}get zoomToFeatures(){return this._messages.command("map.zoom-to-features")}get zoomToGeometry(){return this._messages.command("map.zoom-to-geometry")}get zoomIn(){return this._messages.command("map.zoom-in")}get zoomOut(){return this._messages.command("map.zoom-out")}get zoomToScale(){return this._messages.command("map.zoom-to-scale")}get zoomToInitialViewpoint(){return this._messages.command("map.zoom-to-initial-viewpoint")}get zoomToViewpoint(){return this._messages.command("map.zoom-to-viewpoint")}get zoomToLayerExtent(){return this._messages.command("map.zoom-to-layer-extent")}get zoomToLayerVisibleScale(){return this._messages.command("map.zoom-to-layer-visible-scale")}}export class MapEvents extends t{get initialized(){return this._messages.event("map.initialized")}get initializing(){return this._messages.event("map.initializing")}get markupAdded(){return this._messages.event("map.markup-added")}get markupCleared(){return this._messages.event("map.markup-cleared")}get navigationCompleted(){return this._messages.event("map.navigation-completed")}get refreshed(){return this._messages.event("map.refreshed")}get refreshing(){return this._messages.event("map.refreshing")}get rotated(){return this._messages.event("map.rotated")}get rotating(){return this._messages.event("map.rotating")}get switched(){return this._messages.event("map.switched")}get viewModeChanged(){return this._messages.event("map.view-mode-changed")}get viewpointChanged(){return this._messages.event("map.viewpoint-changed")}get imageExported(){return this._messages.event("map.image-exported")}}export class MapOperations extends s{get getUserCoordinatesInput(){return this._messages.operation("map.get-user-coordinates-input")}get getCoordinateTransformation(){return this._messages.operation("map.get-coordinate-transformation")}get exportImage(){return this._messages.operation("map.export-image")}get exportWebMapOrScene(){return this._messages.operation("map.export-web-map-or-scene")}get getMarkup(){return this._messages.operation("map.get-markup")}get getExtent(){return this._messages.operation("map.get-extent")}get getGeometryFromSelector(){return this._messages.operation("map.get-geometry-from-selector")}get getInitialViewpoint(){return this._messages.operation("map.get-initial-viewpoint")}get getViewpoint(){return this._messages.operation("map.get-viewpoint")}get getSpatialReference(){return this._messages.operation("map.get-spatial-reference")}get getVisibleCenter(){return this._messages.operation("map.get-visible-center")}get hide(){return this._messages.operation("map.hide")}get show(){return this._messages.operation("map.show")}get startSketch(){return this._messages.operation("map.start-sketch")}get stopSketch(){return this._messages.operation("map.stop-sketch")}get getViewInsets(){return this._messages.operation("map.get-view-insets")}}
@@ -668,19 +668,57 @@
668
668
  },
669
669
  "AddMarkupArgs": {
670
670
  "additionalProperties": false,
671
- "description": "Arguments for the \"map.add-markup\" operation. Only available in Mobile.",
671
+ "description": "Arguments for the \"map.add-markup\" command.",
672
672
  "properties": {
673
+ "collection": {
674
+ "description": "The named collection of markup to operate on. If not specified the default markup collection will be used. Some markup collection names are used internally by Web: \"default\": The default markup layer. \"vgs-active-snapping-guides\": The active snap point when snapping. \"vgs-buffer\": Buffer graphics from OOTB buffer tools. \"vgs-context-marker\": Right click context marker on map. \"vgs-dirty-indicator\": Invalid geometry indicators used when editing. \"vgs-editing-control\": Edit frame and vertices while editing geometries. \"vgs-location-accuracy\": Location accuracy circle when geolocating. \"vgs-location-marker-*\": Location markers have this prefix followed by the marker id. \"vgs-map-notes\": Map Notes. \"vgs-measurement-labels\": Labels on measured graphics. \"vgs-other-snapping-guides\": Additional snapping point visualizations. \"vgs-self-snaps\": Used internally by snapping. \"vgs-sketching\": Temporary graphics used while drawing geometries. \"vgs-snapping-radius\": Snapping radius when snapping is active. \"vgs-transient-measurement-labels\": Measurement labels used while drawing.",
675
+ "type": "string"
676
+ },
673
677
  "graphics": {
674
- "description": "The graphics to add to the map.",
675
- "items": {
676
- "$ref": "#/definitions/esri.Graphic"
677
- },
678
- "type": "array"
678
+ "anyOf": [
679
+ {
680
+ "$ref": "#/definitions/CreateGraphicsResult"
681
+ },
682
+ {
683
+ "$ref": "#/definitions/esri.Graphic"
684
+ },
685
+ {
686
+ "items": {
687
+ "$ref": "#/definitions/esri.Graphic"
688
+ },
689
+ "type": "array"
690
+ },
691
+ {
692
+ "$ref": "#/definitions/esri.rest-api.Feature.Feature"
693
+ },
694
+ {
695
+ "$ref": "#/definitions/esri.FeatureSet"
696
+ },
697
+ {
698
+ "items": {
699
+ "anyOf": [
700
+ {
701
+ "$ref": "#/definitions/esri.Graphic"
702
+ },
703
+ {
704
+ "$ref": "#/definitions/esri.rest-api.Feature.Feature"
705
+ }
706
+ ]
707
+ },
708
+ "type": "array"
709
+ }
710
+ ],
711
+ "description": "The markup to add to the map. `GraphicsLike` is only available in Web."
712
+ },
713
+ "level": {
714
+ "$ref": "#/definitions/MarkupLevel",
715
+ "description": "The level (z-order) to assign the markup to. If not specified uses the same level as default markup."
716
+ },
717
+ "maps": {
718
+ "$ref": "MapsLike",
719
+ "description": "Map(s) to use for the command/operation."
679
720
  }
680
721
  },
681
- "required": [
682
- "graphics"
683
- ],
684
722
  "type": "object"
685
723
  },
686
724
  "AddNodeOrder": {
@@ -880,6 +918,25 @@
880
918
  ],
881
919
  "type": "object"
882
920
  },
921
+ "ClearMarkupArgs": {
922
+ "additionalProperties": false,
923
+ "description": "Arguments for the \"map.clear-markup\" command.",
924
+ "properties": {
925
+ "collection": {
926
+ "description": "The named collection of markup to operate on. If not specified the default markup collection will be used. Some markup collection names are used internally by Web: \"default\": The default markup layer. \"vgs-active-snapping-guides\": The active snap point when snapping. \"vgs-buffer\": Buffer graphics from OOTB buffer tools. \"vgs-context-marker\": Right click context marker on map. \"vgs-dirty-indicator\": Invalid geometry indicators used when editing. \"vgs-editing-control\": Edit frame and vertices while editing geometries. \"vgs-location-accuracy\": Location accuracy circle when geolocating. \"vgs-location-marker-*\": Location markers have this prefix followed by the marker id. \"vgs-map-notes\": Map Notes. \"vgs-measurement-labels\": Labels on measured graphics. \"vgs-other-snapping-guides\": Additional snapping point visualizations. \"vgs-self-snaps\": Used internally by snapping. \"vgs-sketching\": Temporary graphics used while drawing geometries. \"vgs-snapping-radius\": Snapping radius when snapping is active. \"vgs-transient-measurement-labels\": Measurement labels used while drawing.",
927
+ "type": "string"
928
+ },
929
+ "graphics": {
930
+ "$ref": "#/definitions/GraphicsLike",
931
+ "description": "The markup to clear. If not specified will clear all markup in the selected collection."
932
+ },
933
+ "maps": {
934
+ "$ref": "MapsLike",
935
+ "description": "Map(s) to use for the command/operation."
936
+ }
937
+ },
938
+ "type": "object"
939
+ },
883
940
  "ConfirmOperationArgs": {
884
941
  "additionalProperties": false,
885
942
  "description": "Arguments for the 'ui.confirm' operation.",
@@ -905,14 +962,74 @@
905
962
  },
906
963
  "CreateGraphicsArgs": {
907
964
  "additionalProperties": false,
908
- "description": "Arguments for the \"drawing.create-graphics\" operation. Only available in Mobile.",
965
+ "description": "Arguments for the \"drawing.create-graphics\" operation. `GeometryLike`, `FeaturesLike` and `SymbolLike` are only available in Web.",
909
966
  "properties": {
967
+ "features": {
968
+ "$ref": "#/definitions/FeaturesLike",
969
+ "description": "Features containing geometry to create graphics from. Web only."
970
+ },
910
971
  "geometry": {
911
- "$ref": "#/definitions/esri.Geometry",
972
+ "$ref": "#/definitions/GeometryLike",
912
973
  "description": "The geometry that was captured."
913
974
  },
975
+ "maps": {
976
+ "$ref": "MapsLike",
977
+ "description": "Map(s) to use for the command/operation."
978
+ },
914
979
  "symbol": {
915
- "$ref": "#/definitions/esri.Symbol",
980
+ "anyOf": [
981
+ {
982
+ "$ref": "#/definitions/esri.Symbol"
983
+ },
984
+ {
985
+ "$ref": "#/definitions/esri.rest-api.SimpleMarkerSymbol.SimpleMarkerSymbol"
986
+ },
987
+ {
988
+ "$ref": "#/definitions/esri.rest-api.SimpleLineSymbol.SimpleLineSymbol"
989
+ },
990
+ {
991
+ "$ref": "#/definitions/esri.rest-api.SimpleFillSymbol.SimpleFillSymbol"
992
+ },
993
+ {
994
+ "$ref": "#/definitions/esri.rest-api.PictureMarkerSymbol.PictureMarkerSymbol"
995
+ },
996
+ {
997
+ "$ref": "#/definitions/esri.rest-api.PictureFillSymbol.PictureFillSymbol"
998
+ },
999
+ {
1000
+ "$ref": "#/definitions/esri.SimpleMarkerSymbol"
1001
+ },
1002
+ {
1003
+ "$ref": "#/definitions/esri.PictureMarkerSymbol"
1004
+ },
1005
+ {
1006
+ "$ref": "#/definitions/esri.SimpleLineSymbol"
1007
+ },
1008
+ {
1009
+ "$ref": "#/definitions/esri.SimpleFillSymbol"
1010
+ },
1011
+ {
1012
+ "$ref": "#/definitions/esri.PictureFillSymbol"
1013
+ },
1014
+ {
1015
+ "$ref": "#/definitions/esri.PointSymbol3D"
1016
+ },
1017
+ {
1018
+ "$ref": "#/definitions/esri.rest-api.PointSymbol3D.PointSymbol3D"
1019
+ },
1020
+ {
1021
+ "$ref": "#/definitions/esri.LineSymbol3D"
1022
+ },
1023
+ {
1024
+ "$ref": "#/definitions/esri.rest-api.LineSymbol3D.LineSymbol3D"
1025
+ },
1026
+ {
1027
+ "$ref": "#/definitions/esri.PolygonSymbol3D"
1028
+ },
1029
+ {
1030
+ "$ref": "#/definitions/esri.rest-api.PolygonSymbol3D.PolygonSymbol3D"
1031
+ }
1032
+ ],
916
1033
  "description": "The symbol that should be used to create the graphic. If null, a default is provided."
917
1034
  }
918
1035
  },
@@ -1951,6 +2068,18 @@
1951
2068
  ],
1952
2069
  "description": "One or map extensions."
1953
2070
  },
2071
+ "MarkupLevel": {
2072
+ "description": "Levels (z-orders) to which markup can be assigned, listed from high to low.",
2073
+ "enum": [
2074
+ "custom1",
2075
+ "custom2",
2076
+ "custom3",
2077
+ "default",
2078
+ "labels",
2079
+ "ui"
2080
+ ],
2081
+ "type": "string"
2082
+ },
1954
2083
  "Model": {
1955
2084
  "additionalProperties": false,
1956
2085
  "description": "A model belonging to a component.",
@@ -2974,7 +3103,7 @@
2974
3103
  "$ref": "#/definitions/SetBasemapArgs"
2975
3104
  },
2976
3105
  "drawing.create-graphics": {
2977
- "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.",
3106
+ "description": "Creates graphics. In Web, creates graphics out of GeometryLike or CreateGraphicsArgs, 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.",
2978
3107
  "enum": [
2979
3108
  "drawing.create-graphics"
2980
3109
  ]
@@ -12433,7 +12562,7 @@
12433
12562
  "$ref": "#/definitions/Features"
12434
12563
  },
12435
12564
  "map.add-markup": {
12436
- "description": "Adds markup to the map(s). In Web, uses GraphicsLike args. In Mobile, uses AddMarkupArgs or some GraphicsLike args.",
12565
+ "description": "Adds markup to the map(s).",
12437
12566
  "enum": [
12438
12567
  "map.add-markup"
12439
12568
  ]
@@ -12479,16 +12608,7 @@
12479
12608
  "map.clear-markup:input": {
12480
12609
  "anyOf": [
12481
12610
  {
12482
- "$ref": "@vertigis.arcgis-extensions.mapping.MapExtension.MapExtension"
12483
- },
12484
- {
12485
- "items": {
12486
- "$ref": "@vertigis.arcgis-extensions.mapping.MapExtension.MapExtension"
12487
- },
12488
- "type": "array"
12489
- },
12490
- {
12491
- "$ref": "#/definitions/HasMaps"
12611
+ "$ref": "#/definitions/ClearMarkupArgs"
12492
12612
  },
12493
12613
  {
12494
12614
  "type": "null"
@@ -652,19 +652,57 @@
652
652
  },
653
653
  "AddMarkupArgs": {
654
654
  "additionalProperties": false,
655
- "description": "Arguments for the \"map.add-markup\" operation. Only available in Mobile.",
655
+ "description": "Arguments for the \"map.add-markup\" command.",
656
656
  "properties": {
657
+ "collection": {
658
+ "description": "The named collection of markup to operate on. If not specified the default markup collection will be used. Some markup collection names are used internally by Web: \"default\": The default markup layer. \"vgs-active-snapping-guides\": The active snap point when snapping. \"vgs-buffer\": Buffer graphics from OOTB buffer tools. \"vgs-context-marker\": Right click context marker on map. \"vgs-dirty-indicator\": Invalid geometry indicators used when editing. \"vgs-editing-control\": Edit frame and vertices while editing geometries. \"vgs-location-accuracy\": Location accuracy circle when geolocating. \"vgs-location-marker-*\": Location markers have this prefix followed by the marker id. \"vgs-map-notes\": Map Notes. \"vgs-measurement-labels\": Labels on measured graphics. \"vgs-other-snapping-guides\": Additional snapping point visualizations. \"vgs-self-snaps\": Used internally by snapping. \"vgs-sketching\": Temporary graphics used while drawing geometries. \"vgs-snapping-radius\": Snapping radius when snapping is active. \"vgs-transient-measurement-labels\": Measurement labels used while drawing.",
659
+ "type": "string"
660
+ },
657
661
  "graphics": {
658
- "description": "The graphics to add to the map.",
659
- "items": {
660
- "$ref": "#/definitions/esri.Graphic"
661
- },
662
- "type": "array"
662
+ "anyOf": [
663
+ {
664
+ "$ref": "#/definitions/CreateGraphicsResult"
665
+ },
666
+ {
667
+ "$ref": "#/definitions/esri.Graphic"
668
+ },
669
+ {
670
+ "items": {
671
+ "$ref": "#/definitions/esri.Graphic"
672
+ },
673
+ "type": "array"
674
+ },
675
+ {
676
+ "$ref": "#/definitions/esri.rest-api.Feature.Feature"
677
+ },
678
+ {
679
+ "$ref": "#/definitions/esri.FeatureSet"
680
+ },
681
+ {
682
+ "items": {
683
+ "anyOf": [
684
+ {
685
+ "$ref": "#/definitions/esri.Graphic"
686
+ },
687
+ {
688
+ "$ref": "#/definitions/esri.rest-api.Feature.Feature"
689
+ }
690
+ ]
691
+ },
692
+ "type": "array"
693
+ }
694
+ ],
695
+ "description": "The markup to add to the map. `GraphicsLike` is only available in Web."
696
+ },
697
+ "level": {
698
+ "$ref": "#/definitions/MarkupLevel",
699
+ "description": "The level (z-order) to assign the markup to. If not specified uses the same level as default markup."
700
+ },
701
+ "maps": {
702
+ "$ref": "MapsLike",
703
+ "description": "Map(s) to use for the command/operation."
663
704
  }
664
705
  },
665
- "required": [
666
- "graphics"
667
- ],
668
706
  "type": "object"
669
707
  },
670
708
  "AddNodeOrder": {
@@ -1000,6 +1038,25 @@
1000
1038
  },
1001
1039
  "type": "object"
1002
1040
  },
1041
+ "ClearMarkupArgs": {
1042
+ "additionalProperties": false,
1043
+ "description": "Arguments for the \"map.clear-markup\" command.",
1044
+ "properties": {
1045
+ "collection": {
1046
+ "description": "The named collection of markup to operate on. If not specified the default markup collection will be used. Some markup collection names are used internally by Web: \"default\": The default markup layer. \"vgs-active-snapping-guides\": The active snap point when snapping. \"vgs-buffer\": Buffer graphics from OOTB buffer tools. \"vgs-context-marker\": Right click context marker on map. \"vgs-dirty-indicator\": Invalid geometry indicators used when editing. \"vgs-editing-control\": Edit frame and vertices while editing geometries. \"vgs-location-accuracy\": Location accuracy circle when geolocating. \"vgs-location-marker-*\": Location markers have this prefix followed by the marker id. \"vgs-map-notes\": Map Notes. \"vgs-measurement-labels\": Labels on measured graphics. \"vgs-other-snapping-guides\": Additional snapping point visualizations. \"vgs-self-snaps\": Used internally by snapping. \"vgs-sketching\": Temporary graphics used while drawing geometries. \"vgs-snapping-radius\": Snapping radius when snapping is active. \"vgs-transient-measurement-labels\": Measurement labels used while drawing.",
1047
+ "type": "string"
1048
+ },
1049
+ "graphics": {
1050
+ "$ref": "#/definitions/GraphicsLike",
1051
+ "description": "The markup to clear. If not specified will clear all markup in the selected collection."
1052
+ },
1053
+ "maps": {
1054
+ "$ref": "MapsLike",
1055
+ "description": "Map(s) to use for the command/operation."
1056
+ }
1057
+ },
1058
+ "type": "object"
1059
+ },
1003
1060
  "ConfirmOperationArgs": {
1004
1061
  "additionalProperties": false,
1005
1062
  "description": "Arguments for the 'ui.confirm' operation.",
@@ -1049,14 +1106,74 @@
1049
1106
  },
1050
1107
  "CreateGraphicsArgs": {
1051
1108
  "additionalProperties": false,
1052
- "description": "Arguments for the \"drawing.create-graphics\" operation. Only available in Mobile.",
1109
+ "description": "Arguments for the \"drawing.create-graphics\" operation. `GeometryLike`, `FeaturesLike` and `SymbolLike` are only available in Web.",
1053
1110
  "properties": {
1111
+ "features": {
1112
+ "$ref": "#/definitions/FeaturesLike",
1113
+ "description": "Features containing geometry to create graphics from. Web only."
1114
+ },
1054
1115
  "geometry": {
1055
- "$ref": "#/definitions/esri.Geometry",
1116
+ "$ref": "#/definitions/GeometryLike",
1056
1117
  "description": "The geometry that was captured."
1057
1118
  },
1119
+ "maps": {
1120
+ "$ref": "MapsLike",
1121
+ "description": "Map(s) to use for the command/operation."
1122
+ },
1058
1123
  "symbol": {
1059
- "$ref": "#/definitions/esri.Symbol",
1124
+ "anyOf": [
1125
+ {
1126
+ "$ref": "#/definitions/esri.Symbol"
1127
+ },
1128
+ {
1129
+ "$ref": "#/definitions/esri.rest-api.SimpleMarkerSymbol.SimpleMarkerSymbol"
1130
+ },
1131
+ {
1132
+ "$ref": "#/definitions/esri.rest-api.SimpleLineSymbol.SimpleLineSymbol"
1133
+ },
1134
+ {
1135
+ "$ref": "#/definitions/esri.rest-api.SimpleFillSymbol.SimpleFillSymbol"
1136
+ },
1137
+ {
1138
+ "$ref": "#/definitions/esri.rest-api.PictureMarkerSymbol.PictureMarkerSymbol"
1139
+ },
1140
+ {
1141
+ "$ref": "#/definitions/esri.rest-api.PictureFillSymbol.PictureFillSymbol"
1142
+ },
1143
+ {
1144
+ "$ref": "#/definitions/esri.SimpleMarkerSymbol"
1145
+ },
1146
+ {
1147
+ "$ref": "#/definitions/esri.PictureMarkerSymbol"
1148
+ },
1149
+ {
1150
+ "$ref": "#/definitions/esri.SimpleLineSymbol"
1151
+ },
1152
+ {
1153
+ "$ref": "#/definitions/esri.SimpleFillSymbol"
1154
+ },
1155
+ {
1156
+ "$ref": "#/definitions/esri.PictureFillSymbol"
1157
+ },
1158
+ {
1159
+ "$ref": "#/definitions/esri.PointSymbol3D"
1160
+ },
1161
+ {
1162
+ "$ref": "#/definitions/esri.rest-api.PointSymbol3D.PointSymbol3D"
1163
+ },
1164
+ {
1165
+ "$ref": "#/definitions/esri.LineSymbol3D"
1166
+ },
1167
+ {
1168
+ "$ref": "#/definitions/esri.rest-api.LineSymbol3D.LineSymbol3D"
1169
+ },
1170
+ {
1171
+ "$ref": "#/definitions/esri.PolygonSymbol3D"
1172
+ },
1173
+ {
1174
+ "$ref": "#/definitions/esri.rest-api.PolygonSymbol3D.PolygonSymbol3D"
1175
+ }
1176
+ ],
1060
1177
  "description": "The symbol that should be used to create the graphic. If null, a default is provided."
1061
1178
  }
1062
1179
  },
@@ -2472,6 +2589,18 @@
2472
2589
  ],
2473
2590
  "description": "One or map extensions."
2474
2591
  },
2592
+ "MarkupLevel": {
2593
+ "description": "Levels (z-orders) to which markup can be assigned, listed from high to low.",
2594
+ "enum": [
2595
+ "custom1",
2596
+ "custom2",
2597
+ "custom3",
2598
+ "default",
2599
+ "labels",
2600
+ "ui"
2601
+ ],
2602
+ "type": "string"
2603
+ },
2475
2604
  "Model": {
2476
2605
  "additionalProperties": false,
2477
2606
  "description": "A model belonging to a component.",
@@ -4047,7 +4176,7 @@
4047
4176
  ]
4048
4177
  },
4049
4178
  "drawing.create-graphics": {
4050
- "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.",
4179
+ "description": "Creates graphics. In Web, creates graphics out of GeometryLike or CreateGraphicsArgs, 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.",
4051
4180
  "enum": [
4052
4181
  "drawing.create-graphics"
4053
4182
  ]
@@ -13833,7 +13962,7 @@
13833
13962
  ]
13834
13963
  },
13835
13964
  "map.add-markup": {
13836
- "description": "Adds markup to the map(s). In Web, uses GraphicsLike args. In Mobile, uses AddMarkupArgs or some GraphicsLike args.",
13965
+ "description": "Adds markup to the map(s).",
13837
13966
  "enum": [
13838
13967
  "map.add-markup"
13839
13968
  ]
@@ -13879,16 +14008,7 @@
13879
14008
  "map.clear-markup:input": {
13880
14009
  "anyOf": [
13881
14010
  {
13882
- "$ref": "@vertigis.arcgis-extensions.mapping.MapExtension.MapExtension"
13883
- },
13884
- {
13885
- "items": {
13886
- "$ref": "@vertigis.arcgis-extensions.mapping.MapExtension.MapExtension"
13887
- },
13888
- "type": "array"
13889
- },
13890
- {
13891
- "$ref": "#/definitions/HasMaps"
14011
+ "$ref": "#/definitions/ClearMarkupArgs"
13892
14012
  },
13893
14013
  {
13894
14014
  "type": "null"
@@ -944,19 +944,57 @@
944
944
  },
945
945
  "AddMarkupArgs": {
946
946
  "additionalProperties": false,
947
- "description": "Arguments for the \"map.add-markup\" operation. Only available in Mobile.",
947
+ "description": "Arguments for the \"map.add-markup\" command.",
948
948
  "properties": {
949
+ "collection": {
950
+ "description": "The named collection of markup to operate on. If not specified the default markup collection will be used. Some markup collection names are used internally by Web: \"default\": The default markup layer. \"vgs-active-snapping-guides\": The active snap point when snapping. \"vgs-buffer\": Buffer graphics from OOTB buffer tools. \"vgs-context-marker\": Right click context marker on map. \"vgs-dirty-indicator\": Invalid geometry indicators used when editing. \"vgs-editing-control\": Edit frame and vertices while editing geometries. \"vgs-location-accuracy\": Location accuracy circle when geolocating. \"vgs-location-marker-*\": Location markers have this prefix followed by the marker id. \"vgs-map-notes\": Map Notes. \"vgs-measurement-labels\": Labels on measured graphics. \"vgs-other-snapping-guides\": Additional snapping point visualizations. \"vgs-self-snaps\": Used internally by snapping. \"vgs-sketching\": Temporary graphics used while drawing geometries. \"vgs-snapping-radius\": Snapping radius when snapping is active. \"vgs-transient-measurement-labels\": Measurement labels used while drawing.",
951
+ "type": "string"
952
+ },
949
953
  "graphics": {
950
- "description": "The graphics to add to the map.",
951
- "items": {
952
- "$ref": "#/definitions/esri.Graphic"
953
- },
954
- "type": "array"
954
+ "anyOf": [
955
+ {
956
+ "$ref": "#/definitions/CreateGraphicsResult"
957
+ },
958
+ {
959
+ "$ref": "#/definitions/esri.Graphic"
960
+ },
961
+ {
962
+ "items": {
963
+ "$ref": "#/definitions/esri.Graphic"
964
+ },
965
+ "type": "array"
966
+ },
967
+ {
968
+ "$ref": "#/definitions/esri.rest-api.Feature.Feature"
969
+ },
970
+ {
971
+ "$ref": "#/definitions/esri.FeatureSet"
972
+ },
973
+ {
974
+ "items": {
975
+ "anyOf": [
976
+ {
977
+ "$ref": "#/definitions/esri.Graphic"
978
+ },
979
+ {
980
+ "$ref": "#/definitions/esri.rest-api.Feature.Feature"
981
+ }
982
+ ]
983
+ },
984
+ "type": "array"
985
+ }
986
+ ],
987
+ "description": "The markup to add to the map. `GraphicsLike` is only available in Web."
988
+ },
989
+ "level": {
990
+ "$ref": "#/definitions/MarkupLevel",
991
+ "description": "The level (z-order) to assign the markup to. If not specified uses the same level as default markup."
992
+ },
993
+ "maps": {
994
+ "$ref": "MapsLike",
995
+ "description": "Map(s) to use for the command/operation."
955
996
  }
956
997
  },
957
- "required": [
958
- "graphics"
959
- ],
960
998
  "type": "object"
961
999
  },
962
1000
  "AddNodeOrder": {
@@ -1352,6 +1390,25 @@
1352
1390
  ],
1353
1391
  "type": "string"
1354
1392
  },
1393
+ "ClearMarkupArgs": {
1394
+ "additionalProperties": false,
1395
+ "description": "Arguments for the \"map.clear-markup\" command.",
1396
+ "properties": {
1397
+ "collection": {
1398
+ "description": "The named collection of markup to operate on. If not specified the default markup collection will be used. Some markup collection names are used internally by Web: \"default\": The default markup layer. \"vgs-active-snapping-guides\": The active snap point when snapping. \"vgs-buffer\": Buffer graphics from OOTB buffer tools. \"vgs-context-marker\": Right click context marker on map. \"vgs-dirty-indicator\": Invalid geometry indicators used when editing. \"vgs-editing-control\": Edit frame and vertices while editing geometries. \"vgs-location-accuracy\": Location accuracy circle when geolocating. \"vgs-location-marker-*\": Location markers have this prefix followed by the marker id. \"vgs-map-notes\": Map Notes. \"vgs-measurement-labels\": Labels on measured graphics. \"vgs-other-snapping-guides\": Additional snapping point visualizations. \"vgs-self-snaps\": Used internally by snapping. \"vgs-sketching\": Temporary graphics used while drawing geometries. \"vgs-snapping-radius\": Snapping radius when snapping is active. \"vgs-transient-measurement-labels\": Measurement labels used while drawing.",
1399
+ "type": "string"
1400
+ },
1401
+ "graphics": {
1402
+ "$ref": "#/definitions/GraphicsLike",
1403
+ "description": "The markup to clear. If not specified will clear all markup in the selected collection."
1404
+ },
1405
+ "maps": {
1406
+ "$ref": "MapsLike",
1407
+ "description": "Map(s) to use for the command/operation."
1408
+ }
1409
+ },
1410
+ "type": "object"
1411
+ },
1355
1412
  "ComponentId": {
1356
1413
  "description": "A component's ID in the layout.",
1357
1414
  "type": "string"
@@ -1446,14 +1503,74 @@
1446
1503
  },
1447
1504
  "CreateGraphicsArgs": {
1448
1505
  "additionalProperties": false,
1449
- "description": "Arguments for the \"drawing.create-graphics\" operation. Only available in Mobile.",
1506
+ "description": "Arguments for the \"drawing.create-graphics\" operation. `GeometryLike`, `FeaturesLike` and `SymbolLike` are only available in Web.",
1450
1507
  "properties": {
1508
+ "features": {
1509
+ "$ref": "#/definitions/FeaturesLike",
1510
+ "description": "Features containing geometry to create graphics from. Web only."
1511
+ },
1451
1512
  "geometry": {
1452
- "$ref": "#/definitions/esri.Geometry",
1513
+ "$ref": "#/definitions/GeometryLike",
1453
1514
  "description": "The geometry that was captured."
1454
1515
  },
1516
+ "maps": {
1517
+ "$ref": "MapsLike",
1518
+ "description": "Map(s) to use for the command/operation."
1519
+ },
1455
1520
  "symbol": {
1456
- "$ref": "#/definitions/esri.Symbol",
1521
+ "anyOf": [
1522
+ {
1523
+ "$ref": "#/definitions/esri.Symbol"
1524
+ },
1525
+ {
1526
+ "$ref": "#/definitions/esri.rest-api.SimpleMarkerSymbol.SimpleMarkerSymbol"
1527
+ },
1528
+ {
1529
+ "$ref": "#/definitions/esri.rest-api.SimpleLineSymbol.SimpleLineSymbol"
1530
+ },
1531
+ {
1532
+ "$ref": "#/definitions/esri.rest-api.SimpleFillSymbol.SimpleFillSymbol"
1533
+ },
1534
+ {
1535
+ "$ref": "#/definitions/esri.rest-api.PictureMarkerSymbol.PictureMarkerSymbol"
1536
+ },
1537
+ {
1538
+ "$ref": "#/definitions/esri.rest-api.PictureFillSymbol.PictureFillSymbol"
1539
+ },
1540
+ {
1541
+ "$ref": "#/definitions/esri.SimpleMarkerSymbol"
1542
+ },
1543
+ {
1544
+ "$ref": "#/definitions/esri.PictureMarkerSymbol"
1545
+ },
1546
+ {
1547
+ "$ref": "#/definitions/esri.SimpleLineSymbol"
1548
+ },
1549
+ {
1550
+ "$ref": "#/definitions/esri.SimpleFillSymbol"
1551
+ },
1552
+ {
1553
+ "$ref": "#/definitions/esri.PictureFillSymbol"
1554
+ },
1555
+ {
1556
+ "$ref": "#/definitions/esri.PointSymbol3D"
1557
+ },
1558
+ {
1559
+ "$ref": "#/definitions/esri.rest-api.PointSymbol3D.PointSymbol3D"
1560
+ },
1561
+ {
1562
+ "$ref": "#/definitions/esri.LineSymbol3D"
1563
+ },
1564
+ {
1565
+ "$ref": "#/definitions/esri.rest-api.LineSymbol3D.LineSymbol3D"
1566
+ },
1567
+ {
1568
+ "$ref": "#/definitions/esri.PolygonSymbol3D"
1569
+ },
1570
+ {
1571
+ "$ref": "#/definitions/esri.rest-api.PolygonSymbol3D.PolygonSymbol3D"
1572
+ }
1573
+ ],
1457
1574
  "description": "The symbol that should be used to create the graphic. If null, a default is provided."
1458
1575
  }
1459
1576
  },
@@ -3212,18 +3329,19 @@
3212
3329
  "additionalProperties": false,
3213
3330
  "description": "Arguments for the \"map.get-markup\" operation.",
3214
3331
  "properties": {
3332
+ "collection": {
3333
+ "description": "The named collection of markup to operate on. If not specified the default markup collection will be used. Some markup collection names are used internally by Web: \"default\": The default markup layer. \"vgs-active-snapping-guides\": The active snap point when snapping. \"vgs-buffer\": Buffer graphics from OOTB buffer tools. \"vgs-context-marker\": Right click context marker on map. \"vgs-dirty-indicator\": Invalid geometry indicators used when editing. \"vgs-editing-control\": Edit frame and vertices while editing geometries. \"vgs-location-accuracy\": Location accuracy circle when geolocating. \"vgs-location-marker-*\": Location markers have this prefix followed by the marker id. \"vgs-map-notes\": Map Notes. \"vgs-measurement-labels\": Labels on measured graphics. \"vgs-other-snapping-guides\": Additional snapping point visualizations. \"vgs-self-snaps\": Used internally by snapping. \"vgs-sketching\": Temporary graphics used while drawing geometries. \"vgs-snapping-radius\": Snapping radius when snapping is active. \"vgs-transient-measurement-labels\": Measurement labels used while drawing.",
3334
+ "type": "string"
3335
+ },
3215
3336
  "geometry": {
3216
3337
  "$ref": "#/definitions/esri.Geometry",
3217
- "description": "The geometry used to bound the retrieved markup. If not specified all markup will be returned."
3338
+ "description": "The geometry used to bound the retrieved markup. If not specified all markup in the selected collection will be returned."
3218
3339
  },
3219
3340
  "maps": {
3220
3341
  "$ref": "MapsLike",
3221
- "description": "The associated map for the retrieved extent."
3342
+ "description": "Map(s) to use for the command/operation."
3222
3343
  }
3223
3344
  },
3224
- "required": [
3225
- "maps"
3226
- ],
3227
3345
  "type": "object"
3228
3346
  },
3229
3347
  "GetMarkupResult": {
@@ -3727,6 +3845,33 @@
3727
3845
  ],
3728
3846
  "description": "References to one or more maps."
3729
3847
  },
3848
+ "MarkupArgs": {
3849
+ "additionalProperties": false,
3850
+ "description": "Base arguments for markup commands and operations.",
3851
+ "properties": {
3852
+ "collection": {
3853
+ "description": "The named collection of markup to operate on. If not specified the default markup collection will be used. Some markup collection names are used internally by Web: \"default\": The default markup layer. \"vgs-active-snapping-guides\": The active snap point when snapping. \"vgs-buffer\": Buffer graphics from OOTB buffer tools. \"vgs-context-marker\": Right click context marker on map. \"vgs-dirty-indicator\": Invalid geometry indicators used when editing. \"vgs-editing-control\": Edit frame and vertices while editing geometries. \"vgs-location-accuracy\": Location accuracy circle when geolocating. \"vgs-location-marker-*\": Location markers have this prefix followed by the marker id. \"vgs-map-notes\": Map Notes. \"vgs-measurement-labels\": Labels on measured graphics. \"vgs-other-snapping-guides\": Additional snapping point visualizations. \"vgs-self-snaps\": Used internally by snapping. \"vgs-sketching\": Temporary graphics used while drawing geometries. \"vgs-snapping-radius\": Snapping radius when snapping is active. \"vgs-transient-measurement-labels\": Measurement labels used while drawing.",
3854
+ "type": "string"
3855
+ },
3856
+ "maps": {
3857
+ "$ref": "MapsLike",
3858
+ "description": "Map(s) to use for the command/operation."
3859
+ }
3860
+ },
3861
+ "type": "object"
3862
+ },
3863
+ "MarkupLevel": {
3864
+ "description": "Levels (z-orders) to which markup can be assigned, listed from high to low.",
3865
+ "enum": [
3866
+ "custom1",
3867
+ "custom2",
3868
+ "custom3",
3869
+ "default",
3870
+ "labels",
3871
+ "ui"
3872
+ ],
3873
+ "type": "string"
3874
+ },
3730
3875
  "Model": {
3731
3876
  "additionalProperties": false,
3732
3877
  "description": "A model belonging to a component.",
@@ -6384,7 +6529,7 @@
6384
6529
  "$ref": "#/definitions/UpdateChartDefinitionArgs"
6385
6530
  },
6386
6531
  "drawing.create-graphics": {
6387
- "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.",
6532
+ "description": "Creates graphics. In Web, creates graphics out of GeometryLike or CreateGraphicsArgs, 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.",
6388
6533
  "enum": [
6389
6534
  "drawing.create-graphics"
6390
6535
  ]
@@ -16650,7 +16795,7 @@
16650
16795
  "$ref": "#/definitions/AddLayersArgs"
16651
16796
  },
16652
16797
  "map.add-markup": {
16653
- "description": "Adds markup to the map(s). In Web, uses GraphicsLike args. In Mobile, uses AddMarkupArgs or some GraphicsLike args.",
16798
+ "description": "Adds markup to the map(s).",
16654
16799
  "enum": [
16655
16800
  "map.add-markup"
16656
16801
  ]
@@ -16739,16 +16884,7 @@
16739
16884
  "map.clear-markup:input": {
16740
16885
  "anyOf": [
16741
16886
  {
16742
- "$ref": "@vertigis.arcgis-extensions.mapping.MapExtension.MapExtension"
16743
- },
16744
- {
16745
- "items": {
16746
- "$ref": "@vertigis.arcgis-extensions.mapping.MapExtension.MapExtension"
16747
- },
16748
- "type": "array"
16749
- },
16750
- {
16751
- "$ref": "#/definitions/HasMaps"
16887
+ "$ref": "#/definitions/ClearMarkupArgs"
16752
16888
  },
16753
16889
  {
16754
16890
  "type": "null"
@@ -17094,6 +17230,22 @@
17094
17230
  }
17095
17231
  ]
17096
17232
  },
17233
+ "map.hide-markup": {
17234
+ "description": "Show the specified markup collection, if hidden. If no collection is specified the default markup collection will be shown.",
17235
+ "enum": [
17236
+ "map.hide-markup"
17237
+ ]
17238
+ },
17239
+ "map.hide-markup:input": {
17240
+ "anyOf": [
17241
+ {
17242
+ "$ref": "#/definitions/MarkupArgs"
17243
+ },
17244
+ {
17245
+ "type": "null"
17246
+ }
17247
+ ]
17248
+ },
17097
17249
  "map.pan-to-features": {
17098
17250
  "description": "Pans (without zooming) to one or many features on the targeted map(s).",
17099
17251
  "enum": [
@@ -17331,6 +17483,22 @@
17331
17483
  }
17332
17484
  ]
17333
17485
  },
17486
+ "map.show-markup": {
17487
+ "description": "Show the specified markup collection, if hidden. If no collection is specified the default markup collection will be shown.",
17488
+ "enum": [
17489
+ "map.show-markup"
17490
+ ]
17491
+ },
17492
+ "map.show-markup:input": {
17493
+ "anyOf": [
17494
+ {
17495
+ "$ref": "#/definitions/MarkupArgs"
17496
+ },
17497
+ {
17498
+ "type": "null"
17499
+ }
17500
+ ]
17501
+ },
17334
17502
  "map.update-layer": {
17335
17503
  "description": "Updates a layer in the map.",
17336
17504
  "enum": [
@@ -20303,6 +20471,22 @@
20303
20471
  ],
20304
20472
  "type": "object"
20305
20473
  },
20474
+ {
20475
+ "additionalProperties": false,
20476
+ "properties": {
20477
+ "arguments": {
20478
+ "$ref": "#/definitions/map.hide-markup:input"
20479
+ },
20480
+ "name": {
20481
+ "$ref": "#/definitions/map.hide-markup"
20482
+ }
20483
+ },
20484
+ "required": [
20485
+ "name",
20486
+ "arguments"
20487
+ ],
20488
+ "type": "object"
20489
+ },
20306
20490
  {
20307
20491
  "additionalProperties": false,
20308
20492
  "properties": {
@@ -20415,6 +20599,22 @@
20415
20599
  ],
20416
20600
  "type": "object"
20417
20601
  },
20602
+ {
20603
+ "additionalProperties": false,
20604
+ "properties": {
20605
+ "arguments": {
20606
+ "$ref": "#/definitions/map.show-markup:input"
20607
+ },
20608
+ "name": {
20609
+ "$ref": "#/definitions/map.show-markup"
20610
+ }
20611
+ },
20612
+ "required": [
20613
+ "name",
20614
+ "arguments"
20615
+ ],
20616
+ "type": "object"
20617
+ },
20418
20618
  {
20419
20619
  "additionalProperties": false,
20420
20620
  "properties": {
@@ -21594,6 +21794,9 @@
21594
21794
  {
21595
21795
  "$ref": "#/definitions/map.go-to-viewpoint"
21596
21796
  },
21797
+ {
21798
+ "$ref": "#/definitions/map.hide-markup"
21799
+ },
21597
21800
  {
21598
21801
  "$ref": "#/definitions/map.pan-to-features"
21599
21802
  },
@@ -21615,6 +21818,9 @@
21615
21818
  {
21616
21819
  "$ref": "#/definitions/map.set-view-mode"
21617
21820
  },
21821
+ {
21822
+ "$ref": "#/definitions/map.show-markup"
21823
+ },
21618
21824
  {
21619
21825
  "$ref": "#/definitions/map.update-layer"
21620
21826
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vertigis/viewer-spec",
3
- "version": "51.12.0",
3
+ "version": "51.13.0",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "description": "VertiGIS Viewer Specification",
6
6
  "type": "module",
package/version.d.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * The current version of the VertiGIS Studio Viewer Specification.
3
3
  */
4
- export declare const version = "51.12.0";
4
+ export declare const version = "51.13.0";
package/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * The current version of the VertiGIS Studio Viewer Specification.
3
3
  */
4
- export const version = "51.12.0";
4
+ export const version = "51.13.0";