@vertigis/viewer-spec 59.26.0 → 59.27.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
CHANGED
|
@@ -13,7 +13,7 @@ import type SimpleFillSymbol from "@arcgis/core/symbols/SimpleFillSymbol";
|
|
|
13
13
|
import type SimpleLineSymbol from "@arcgis/core/symbols/SimpleLineSymbol";
|
|
14
14
|
import type SimpleMarkerSymbol from "@arcgis/core/symbols/SimpleMarkerSymbol";
|
|
15
15
|
import type TextSymbol from "@arcgis/core/symbols/TextSymbol";
|
|
16
|
-
import type { GeometryUnion } from "@arcgis/core/unionTypes";
|
|
16
|
+
import type { GeometryUnion, RendererUnion } from "@arcgis/core/unionTypes";
|
|
17
17
|
import type { Entity } from "@vertigis/arcgis-extensions/Entity";
|
|
18
18
|
import type { Feature, FeatureProperties } from "@vertigis/arcgis-extensions/data/Feature";
|
|
19
19
|
import type { FeatureList } from "@vertigis/arcgis-extensions/data/FeatureList";
|
|
@@ -24,6 +24,7 @@ import type { TableExtension, TableReference as TableReferenceObject } from "@ve
|
|
|
24
24
|
import type { LabelingInfoJson } from "@vertigis/arcgis-extensions/json/DrawingInfoJson";
|
|
25
25
|
import type { FeatureJson } from "@vertigis/arcgis-extensions/json/FeatureJson";
|
|
26
26
|
import type { GeometryJson } from "@vertigis/arcgis-extensions/json/GeometryJson";
|
|
27
|
+
import type { RendererJson } from "@vertigis/arcgis-extensions/json/RendererJson";
|
|
27
28
|
import type { CIMSymbolReferenceJson, LineSymbol3DJson, PictureFillSymbolJson, PictureMarkerSymbolJson, PointSymbol3DJson, PolygonSymbol3DJson, SimpleFillSymbolJson, SimpleLineSymbolJson, SimpleMarkerSymbolJson, TextSymbolJson } from "@vertigis/arcgis-extensions/json/SymbolJson";
|
|
28
29
|
import type { ViewpointJson } from "@vertigis/arcgis-extensions/json/ViewpointJson";
|
|
29
30
|
import type { BasemapExtension } from "@vertigis/arcgis-extensions/mapping/BasemapExtension";
|
|
@@ -290,6 +291,19 @@ export interface HasSymbols {
|
|
|
290
291
|
*/
|
|
291
292
|
symbols?: SymbolLike | SymbolLike[];
|
|
292
293
|
}
|
|
294
|
+
/**
|
|
295
|
+
* Renderers supported for styling features.
|
|
296
|
+
*/
|
|
297
|
+
export type RendererLike = RendererJson | RendererUnion;
|
|
298
|
+
/**
|
|
299
|
+
* An object that has a `renderer` property.
|
|
300
|
+
*/
|
|
301
|
+
export interface HasRenderer {
|
|
302
|
+
/**
|
|
303
|
+
* The renderer configuration to use for the command/operation.
|
|
304
|
+
*/
|
|
305
|
+
renderer?: RendererLike;
|
|
306
|
+
}
|
|
293
307
|
/**
|
|
294
308
|
* An object that is convertible to an Esri Viewpoint, or that has a viewpoint
|
|
295
309
|
* property.
|
|
@@ -15,7 +15,7 @@ import type { Command } from "../Command.js";
|
|
|
15
15
|
import { CommandRegistry } from "../CommandRegistry.js";
|
|
16
16
|
import type { Operation } from "../Operation.js";
|
|
17
17
|
import { OperationRegistry } from "../OperationRegistry.js";
|
|
18
|
-
import type { CreateGraphicsResult, FeaturesLike, GeometryLike, HasFeatures, HasGraphics, HasLayers, HasMaps, HasSymbol, HasSymbols, HasUITarget, SymbolLike } from "../common.js";
|
|
18
|
+
import type { CreateGraphicsResult, FeaturesLike, GeometryLike, HasFeatures, HasGraphics, HasLayers, HasMaps, HasRenderer, HasSymbol, HasSymbols, HasUITarget, SymbolLike } from "../common.js";
|
|
19
19
|
import type { CaptureGeometryArgs } from "./sketching.js";
|
|
20
20
|
/**
|
|
21
21
|
* Symbols supported for drawing.
|
|
@@ -57,7 +57,7 @@ export interface EditSymbolArgs extends HasSymbol, HasSymbols, HasMaps, HasLayer
|
|
|
57
57
|
* Arguments for the drawing.edit-symbol operation. Only available in VertiGIS
|
|
58
58
|
* Studio Web.
|
|
59
59
|
*/
|
|
60
|
-
export interface EditSymbolResult extends HasMaps, HasLayers, HasGraphics, HasFeatures, HasSymbols, HasSymbol {
|
|
60
|
+
export interface EditSymbolResult extends HasMaps, HasLayers, HasGraphics, HasFeatures, HasSymbols, HasSymbol, HasRenderer {
|
|
61
61
|
}
|
|
62
62
|
/**
|
|
63
63
|
* Arguments for the "drawing.create-graphics" operation. `GeometryLike`,
|
|
@@ -8,7 +8,7 @@ import type { Event } from "../Event.js";
|
|
|
8
8
|
import { EventRegistry } from "../EventRegistry.js";
|
|
9
9
|
import type { Operation } from "../Operation.js";
|
|
10
10
|
import { OperationRegistry } from "../OperationRegistry.js";
|
|
11
|
-
import type { HasFiles, HasLayers, HasMaps, HasSymbol, HasSymbols, LayersLike } from "../common.js";
|
|
11
|
+
import type { HasFiles, HasLayers, HasMaps, HasRenderer, HasSymbol, HasSymbols, LayersLike } from "../common.js";
|
|
12
12
|
/**
|
|
13
13
|
* Arguments for the "layers.visibility-changed" event.
|
|
14
14
|
*/
|
|
@@ -43,7 +43,7 @@ export interface SetLabelVisibilityArgs extends HasLayers, HasMaps {
|
|
|
43
43
|
/**
|
|
44
44
|
* Arguments for the layers.set-symbol command.
|
|
45
45
|
*/
|
|
46
|
-
export type SetSymbolArgs = HasSymbol & HasSymbols & HasLayers & HasMaps;
|
|
46
|
+
export type SetSymbolArgs = HasSymbol & HasSymbols & HasLayers & HasMaps & HasRenderer;
|
|
47
47
|
/**
|
|
48
48
|
* Arguments for the layers.set-visibility command. If no 'maps' are specified,
|
|
49
49
|
* all active maps in the layout will be targeted. If no 'layers' are specified,
|
|
@@ -3493,6 +3493,10 @@
|
|
|
3493
3493
|
"$ref": "MapsLike",
|
|
3494
3494
|
"description": "Map(s) to use for the command/operation."
|
|
3495
3495
|
},
|
|
3496
|
+
"renderer": {
|
|
3497
|
+
"$ref": "#/definitions/RendererLike",
|
|
3498
|
+
"description": "The renderer configuration to use for the command/operation."
|
|
3499
|
+
},
|
|
3496
3500
|
"symbol": {
|
|
3497
3501
|
"$ref": "SymbolLike",
|
|
3498
3502
|
"description": "The symbol to use for the command/operation."
|
|
@@ -7149,6 +7153,68 @@
|
|
|
7149
7153
|
],
|
|
7150
7154
|
"description": "A renderer.\n\nPart of the ArcGIS REST API (see http://resources.arcgis.com/en/help/rest/apiref/renderer.html)."
|
|
7151
7155
|
},
|
|
7156
|
+
"RendererLike": {
|
|
7157
|
+
"anyOf": [
|
|
7158
|
+
{
|
|
7159
|
+
"$ref": "#/definitions/esri.rest-api.RendererJson.ClassBreaksRendererJson"
|
|
7160
|
+
},
|
|
7161
|
+
{
|
|
7162
|
+
"$ref": "#/definitions/esri.rest-api.RendererJson.HeatmapRendererJson"
|
|
7163
|
+
},
|
|
7164
|
+
{
|
|
7165
|
+
"$ref": "#/definitions/esri.rest-api.RendererJson.PointCloudClassBreaksRendererJson"
|
|
7166
|
+
},
|
|
7167
|
+
{
|
|
7168
|
+
"$ref": "#/definitions/esri.rest-api.RendererJson.PointCloudRGBRendererJson"
|
|
7169
|
+
},
|
|
7170
|
+
{
|
|
7171
|
+
"$ref": "#/definitions/esri.rest-api.RendererJson.PointCloudStretchRendererJson"
|
|
7172
|
+
},
|
|
7173
|
+
{
|
|
7174
|
+
"$ref": "#/definitions/esri.rest-api.RendererJson.PointCloudUniqueValueRendererJson"
|
|
7175
|
+
},
|
|
7176
|
+
{
|
|
7177
|
+
"$ref": "#/definitions/esri.rest-api.RendererJson.PredominanceRendererJson"
|
|
7178
|
+
},
|
|
7179
|
+
{
|
|
7180
|
+
"$ref": "#/definitions/esri.rest-api.RendererJson.SimpleRendererJson"
|
|
7181
|
+
},
|
|
7182
|
+
{
|
|
7183
|
+
"$ref": "#/definitions/esri.rest-api.RendererJson.TemporalRendererJson"
|
|
7184
|
+
},
|
|
7185
|
+
{
|
|
7186
|
+
"$ref": "#/definitions/esri.rest-api.RendererJson.UniqueValueFromStyleRendererJson"
|
|
7187
|
+
},
|
|
7188
|
+
{
|
|
7189
|
+
"$ref": "#/definitions/esri.rest-api.RendererJson.UniqueValueRendererJson"
|
|
7190
|
+
},
|
|
7191
|
+
{
|
|
7192
|
+
"$ref": "#/definitions/esri.rest-api.RendererJson.VectorFieldRendererJson"
|
|
7193
|
+
},
|
|
7194
|
+
{
|
|
7195
|
+
"$ref": "esri.HeatmapRenderer"
|
|
7196
|
+
},
|
|
7197
|
+
{
|
|
7198
|
+
"$ref": "esri.SimpleRenderer"
|
|
7199
|
+
},
|
|
7200
|
+
{
|
|
7201
|
+
"$ref": "esri.ClassBreaksRenderer"
|
|
7202
|
+
},
|
|
7203
|
+
{
|
|
7204
|
+
"$ref": "esri.UniqueValueRenderer"
|
|
7205
|
+
},
|
|
7206
|
+
{
|
|
7207
|
+
"$ref": "esri.DotDensityRenderer"
|
|
7208
|
+
},
|
|
7209
|
+
{
|
|
7210
|
+
"$ref": "esri.DictionaryRenderer"
|
|
7211
|
+
},
|
|
7212
|
+
{
|
|
7213
|
+
"$ref": "esri.PieChartRenderer"
|
|
7214
|
+
}
|
|
7215
|
+
],
|
|
7216
|
+
"description": "Renderers supported for styling features."
|
|
7217
|
+
},
|
|
7152
7218
|
"RepeatActionArgs": {
|
|
7153
7219
|
"additionalProperties": false,
|
|
7154
7220
|
"description": "Arguments for the system.repeat-action command.",
|
|
@@ -8084,6 +8150,10 @@
|
|
|
8084
8150
|
"$ref": "MapsLike",
|
|
8085
8151
|
"description": "Map(s) to use for the command/operation."
|
|
8086
8152
|
},
|
|
8153
|
+
"renderer": {
|
|
8154
|
+
"$ref": "#/definitions/RendererLike",
|
|
8155
|
+
"description": "The renderer configuration to use for the command/operation."
|
|
8156
|
+
},
|
|
8087
8157
|
"symbol": {
|
|
8088
8158
|
"$ref": "SymbolLike",
|
|
8089
8159
|
"description": "The symbol to use for the command/operation."
|
package/package.json
CHANGED
package/version.d.ts
CHANGED
package/version.js
CHANGED