@vertigis/viewer-spec 48.4.0 → 48.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/messaging/registry/map.d.ts +9 -1
- package/messaging/registry/map.js +1 -1
- package/messaging/registry/portal.d.ts +42 -0
- package/messaging/registry/portal.js +1 -1
- package/messaging/schema/common-action.schema.json +12 -0
- package/messaging/schema/common-event.schema.json +12 -0
- package/messaging/schema/mobile-action.schema.json +12 -0
- package/messaging/schema/mobile-event.schema.json +12 -0
- package/messaging/schema/web-action.schema.json +65 -0
- package/messaging/schema/web-event.schema.json +12 -0
- package/package.json +3 -3
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -19,9 +19,10 @@ import type { Event } from "../Event.js";
|
|
|
19
19
|
import { EventRegistry } from "../EventRegistry.js";
|
|
20
20
|
import type { Operation } from "../Operation.js";
|
|
21
21
|
import { OperationRegistry } from "../OperationRegistry.js";
|
|
22
|
-
import type { Features, FeaturesLike, Geometries, GeometryLike, GraphicsLike, HasUITarget, Layers, LayersLike, Maps, MapsLike, ViewpointLike } from "../common.js";
|
|
22
|
+
import type { Features, FeaturesLike, Geometries, GeometryLike, GraphicsLike, HasMaps, HasUITarget, Layers, LayersLike, Maps, MapsLike, ViewpointLike } from "../common.js";
|
|
23
23
|
import type { MapExtensionArgs } from "../mobile.js";
|
|
24
24
|
import type { EnhancedFileData } from "./file.js";
|
|
25
|
+
import type { PortalItemData } from "./portal.js";
|
|
25
26
|
import type { GeometryEditorSettings } from "./sketching.js";
|
|
26
27
|
/**
|
|
27
28
|
* Arguments for the various map events.
|
|
@@ -953,6 +954,13 @@ export declare class MapOperations extends OperationRegistry {
|
|
|
953
954
|
* @mobileOnly
|
|
954
955
|
*/
|
|
955
956
|
get exportImage(): Operation<ExportMapImageArgs, EnhancedFileData>;
|
|
957
|
+
/**
|
|
958
|
+
* Exports the current configuration of the selected map component as a web
|
|
959
|
+
* map or scene.
|
|
960
|
+
*
|
|
961
|
+
* @webOnly
|
|
962
|
+
*/
|
|
963
|
+
get exportWebMapOrScene(): Operation<HasMaps, PortalItemData>;
|
|
956
964
|
/**
|
|
957
965
|
* Returns markup from the specified map that are intersected by the
|
|
958
966
|
* supplied geometry.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{CommandRegistry}from"../CommandRegistry.js";import{EventRegistry}from"../EventRegistry.js";import{OperationRegistry}from"../OperationRegistry.js";export class MapCommands extends CommandRegistry{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 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 EventRegistry{get initialized(){return this._messages.event("map.initialized")}get initializing(){return this._messages.event("map.initializing")}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 viewModeChanged(){return this._messages.event("map.view-mode-changed")}get viewpointChanged(){return this._messages.event("map.viewpoint-changed")}}export class MapOperations extends OperationRegistry{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 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}from"../CommandRegistry.js";import{EventRegistry}from"../EventRegistry.js";import{OperationRegistry}from"../OperationRegistry.js";export class MapCommands extends CommandRegistry{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 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 EventRegistry{get initialized(){return this._messages.event("map.initialized")}get initializing(){return this._messages.event("map.initializing")}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 viewModeChanged(){return this._messages.event("map.view-mode-changed")}get viewpointChanged(){return this._messages.event("map.viewpoint-changed")}}export class MapOperations extends OperationRegistry{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,3 +1,4 @@
|
|
|
1
|
+
import type PortalItem from "@arcgis/core/portal/PortalItem";
|
|
1
2
|
import type { Event } from "../Event.js";
|
|
2
3
|
import { EventRegistry } from "../EventRegistry.js";
|
|
3
4
|
import type { Operation } from "../Operation.js";
|
|
@@ -27,6 +28,41 @@ export interface ChooseLayersResult extends HasMaps {
|
|
|
27
28
|
*/
|
|
28
29
|
layers?: LayersLike;
|
|
29
30
|
}
|
|
31
|
+
/**
|
|
32
|
+
* Information about a portal item to be saved.
|
|
33
|
+
*/
|
|
34
|
+
export interface PortalItemData {
|
|
35
|
+
/**
|
|
36
|
+
* The JSON data associated with the item.
|
|
37
|
+
*/
|
|
38
|
+
data: unknown;
|
|
39
|
+
/**
|
|
40
|
+
* The portal type of the item.
|
|
41
|
+
*/
|
|
42
|
+
type: string;
|
|
43
|
+
/**
|
|
44
|
+
* The URL of a thumbnail for the item.
|
|
45
|
+
*/
|
|
46
|
+
thumbnail?: string;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Arguments for the 'portal.create-or-update-item' operation.
|
|
50
|
+
*/
|
|
51
|
+
export interface CreateOrUpdateItemArgs extends PortalItemData {
|
|
52
|
+
/**
|
|
53
|
+
* The title of the resulting portal item. Must be provided if `showUI` is `false`.
|
|
54
|
+
*/
|
|
55
|
+
title?: string;
|
|
56
|
+
/**
|
|
57
|
+
* Whether to show UI elements associated with this operation. Defaults to `true`.
|
|
58
|
+
*/
|
|
59
|
+
showUI?: boolean;
|
|
60
|
+
/**
|
|
61
|
+
* Whether to prompt before overwriting an existing item. This must be set
|
|
62
|
+
* to `false` to allow overwriting if `showUI` is also `false`. Defaults to `true`.
|
|
63
|
+
*/
|
|
64
|
+
promptForOverwrite?: boolean;
|
|
65
|
+
}
|
|
30
66
|
export declare class PortalEvents extends EventRegistry {
|
|
31
67
|
/**
|
|
32
68
|
* Raised when an ArcGIS Portal is initialized.
|
|
@@ -43,4 +79,10 @@ export declare class PortalOperations extends OperationRegistry {
|
|
|
43
79
|
* @webOnly
|
|
44
80
|
*/
|
|
45
81
|
get chooseLayers(): Operation<ChooseLayersOptions, ChooseLayersResult>;
|
|
82
|
+
/**
|
|
83
|
+
* Creates or updates a portal item from the supplied data.
|
|
84
|
+
*
|
|
85
|
+
* @webOnly
|
|
86
|
+
*/
|
|
87
|
+
get createOrUpdateItem(): Operation<CreateOrUpdateItemArgs, PortalItem>;
|
|
46
88
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{EventRegistry}from"../EventRegistry.js";import{OperationRegistry}from"../OperationRegistry.js";export class PortalEvents extends EventRegistry{get initialized(){return this._messages.event("portal.initialized")}}export class PortalOperations extends OperationRegistry{get chooseLayers(){return this._messages.operation("portal.choose-layers")}}
|
|
1
|
+
import{EventRegistry}from"../EventRegistry.js";import{OperationRegistry}from"../OperationRegistry.js";export class PortalEvents extends EventRegistry{get initialized(){return this._messages.event("portal.initialized")}}export class PortalOperations extends OperationRegistry{get chooseLayers(){return this._messages.operation("portal.choose-layers")}get createOrUpdateItem(){return this._messages.operation("portal.create-or-update-item")}}
|
|
@@ -7326,10 +7326,18 @@
|
|
|
7326
7326
|
"$ref": "#/definitions/esri.rest-api._LayerBase.BlendMode",
|
|
7327
7327
|
"description": "Blend modes are used to blend layers together to create an interesting effect in a layer, or even to produce what seems like a new layer."
|
|
7328
7328
|
},
|
|
7329
|
+
"disablePopup": {
|
|
7330
|
+
"description": "Indicates whether to allow a client to ignore popups defined by the service item.",
|
|
7331
|
+
"type": "boolean"
|
|
7332
|
+
},
|
|
7329
7333
|
"id": {
|
|
7330
7334
|
"description": "A unique identifying string for the layer.",
|
|
7331
7335
|
"type": "string"
|
|
7332
7336
|
},
|
|
7337
|
+
"layerDefinition": {
|
|
7338
|
+
"$ref": "#/definitions/esri.rest-api.LayerDefinition.LayerDefinition",
|
|
7339
|
+
"description": "A layerDefinition object defining the attribute schema and drawing information for the layer."
|
|
7340
|
+
},
|
|
7333
7341
|
"layerType": {
|
|
7334
7342
|
"description": "The type of layer.",
|
|
7335
7343
|
"enum": [
|
|
@@ -7353,6 +7361,10 @@
|
|
|
7353
7361
|
"description": "The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency.",
|
|
7354
7362
|
"type": "number"
|
|
7355
7363
|
},
|
|
7364
|
+
"popupInfo": {
|
|
7365
|
+
"$ref": "#/definitions/esri.rest-api.PopupInfo.PopupInfo",
|
|
7366
|
+
"description": "A PopupInfo object defining the content of pop-up windows when you click or query a feature."
|
|
7367
|
+
},
|
|
7356
7368
|
"refreshInterval": {
|
|
7357
7369
|
"description": "When the refresh interval is set on a layer, the client must refresh that layer only, not the entire web map. The default value is '0', meaning the no refresh. You can enable a refresh interval on the following types of layers: ArcGIS Server web service, hosted feature layer, hosted tile layer, OGC WMS, OGS WMTS, tile layer, GeoRSS, Living Atlas layers, basemaps (including Bing Maps basemaps), CSV from the web with latitude and longitude fields, and KML when added to ArcGIS Online through the My Content page.{@linkhttps://doc.arcgis.com/en/arcgis-online/create-maps/set-refresh-interval.htm}.",
|
|
7358
7370
|
"type": "number"
|
|
@@ -4783,10 +4783,18 @@
|
|
|
4783
4783
|
"$ref": "#/definitions/esri.rest-api._LayerBase.BlendMode",
|
|
4784
4784
|
"description": "Blend modes are used to blend layers together to create an interesting effect in a layer, or even to produce what seems like a new layer."
|
|
4785
4785
|
},
|
|
4786
|
+
"disablePopup": {
|
|
4787
|
+
"description": "Indicates whether to allow a client to ignore popups defined by the service item.",
|
|
4788
|
+
"type": "boolean"
|
|
4789
|
+
},
|
|
4786
4790
|
"id": {
|
|
4787
4791
|
"description": "A unique identifying string for the layer.",
|
|
4788
4792
|
"type": "string"
|
|
4789
4793
|
},
|
|
4794
|
+
"layerDefinition": {
|
|
4795
|
+
"$ref": "#/definitions/esri.rest-api.LayerDefinition.LayerDefinition",
|
|
4796
|
+
"description": "A layerDefinition object defining the attribute schema and drawing information for the layer."
|
|
4797
|
+
},
|
|
4790
4798
|
"layerType": {
|
|
4791
4799
|
"description": "The type of layer.",
|
|
4792
4800
|
"enum": [
|
|
@@ -4810,6 +4818,10 @@
|
|
|
4810
4818
|
"description": "The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency.",
|
|
4811
4819
|
"type": "number"
|
|
4812
4820
|
},
|
|
4821
|
+
"popupInfo": {
|
|
4822
|
+
"$ref": "#/definitions/esri.rest-api.PopupInfo.PopupInfo",
|
|
4823
|
+
"description": "A PopupInfo object defining the content of pop-up windows when you click or query a feature."
|
|
4824
|
+
},
|
|
4813
4825
|
"refreshInterval": {
|
|
4814
4826
|
"description": "When the refresh interval is set on a layer, the client must refresh that layer only, not the entire web map. The default value is '0', meaning the no refresh. You can enable a refresh interval on the following types of layers: ArcGIS Server web service, hosted feature layer, hosted tile layer, OGC WMS, OGS WMTS, tile layer, GeoRSS, Living Atlas layers, basemaps (including Bing Maps basemaps), CSV from the web with latitude and longitude fields, and KML when added to ArcGIS Online through the My Content page.{@linkhttps://doc.arcgis.com/en/arcgis-online/create-maps/set-refresh-interval.htm}.",
|
|
4815
4827
|
"type": "number"
|
|
@@ -8266,10 +8266,18 @@
|
|
|
8266
8266
|
"$ref": "#/definitions/esri.rest-api._LayerBase.BlendMode",
|
|
8267
8267
|
"description": "Blend modes are used to blend layers together to create an interesting effect in a layer, or even to produce what seems like a new layer."
|
|
8268
8268
|
},
|
|
8269
|
+
"disablePopup": {
|
|
8270
|
+
"description": "Indicates whether to allow a client to ignore popups defined by the service item.",
|
|
8271
|
+
"type": "boolean"
|
|
8272
|
+
},
|
|
8269
8273
|
"id": {
|
|
8270
8274
|
"description": "A unique identifying string for the layer.",
|
|
8271
8275
|
"type": "string"
|
|
8272
8276
|
},
|
|
8277
|
+
"layerDefinition": {
|
|
8278
|
+
"$ref": "#/definitions/esri.rest-api.LayerDefinition.LayerDefinition",
|
|
8279
|
+
"description": "A layerDefinition object defining the attribute schema and drawing information for the layer."
|
|
8280
|
+
},
|
|
8273
8281
|
"layerType": {
|
|
8274
8282
|
"description": "The type of layer.",
|
|
8275
8283
|
"enum": [
|
|
@@ -8293,6 +8301,10 @@
|
|
|
8293
8301
|
"description": "The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency.",
|
|
8294
8302
|
"type": "number"
|
|
8295
8303
|
},
|
|
8304
|
+
"popupInfo": {
|
|
8305
|
+
"$ref": "#/definitions/esri.rest-api.PopupInfo.PopupInfo",
|
|
8306
|
+
"description": "A PopupInfo object defining the content of pop-up windows when you click or query a feature."
|
|
8307
|
+
},
|
|
8296
8308
|
"refreshInterval": {
|
|
8297
8309
|
"description": "When the refresh interval is set on a layer, the client must refresh that layer only, not the entire web map. The default value is '0', meaning the no refresh. You can enable a refresh interval on the following types of layers: ArcGIS Server web service, hosted feature layer, hosted tile layer, OGC WMS, OGS WMTS, tile layer, GeoRSS, Living Atlas layers, basemaps (including Bing Maps basemaps), CSV from the web with latitude and longitude fields, and KML when added to ArcGIS Online through the My Content page.{@linkhttps://doc.arcgis.com/en/arcgis-online/create-maps/set-refresh-interval.htm}.",
|
|
8298
8310
|
"type": "number"
|
|
@@ -5517,10 +5517,18 @@
|
|
|
5517
5517
|
"$ref": "#/definitions/esri.rest-api._LayerBase.BlendMode",
|
|
5518
5518
|
"description": "Blend modes are used to blend layers together to create an interesting effect in a layer, or even to produce what seems like a new layer."
|
|
5519
5519
|
},
|
|
5520
|
+
"disablePopup": {
|
|
5521
|
+
"description": "Indicates whether to allow a client to ignore popups defined by the service item.",
|
|
5522
|
+
"type": "boolean"
|
|
5523
|
+
},
|
|
5520
5524
|
"id": {
|
|
5521
5525
|
"description": "A unique identifying string for the layer.",
|
|
5522
5526
|
"type": "string"
|
|
5523
5527
|
},
|
|
5528
|
+
"layerDefinition": {
|
|
5529
|
+
"$ref": "#/definitions/esri.rest-api.LayerDefinition.LayerDefinition",
|
|
5530
|
+
"description": "A layerDefinition object defining the attribute schema and drawing information for the layer."
|
|
5531
|
+
},
|
|
5524
5532
|
"layerType": {
|
|
5525
5533
|
"description": "The type of layer.",
|
|
5526
5534
|
"enum": [
|
|
@@ -5544,6 +5552,10 @@
|
|
|
5544
5552
|
"description": "The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency.",
|
|
5545
5553
|
"type": "number"
|
|
5546
5554
|
},
|
|
5555
|
+
"popupInfo": {
|
|
5556
|
+
"$ref": "#/definitions/esri.rest-api.PopupInfo.PopupInfo",
|
|
5557
|
+
"description": "A PopupInfo object defining the content of pop-up windows when you click or query a feature."
|
|
5558
|
+
},
|
|
5547
5559
|
"refreshInterval": {
|
|
5548
5560
|
"description": "When the refresh interval is set on a layer, the client must refresh that layer only, not the entire web map. The default value is '0', meaning the no refresh. You can enable a refresh interval on the following types of layers: ArcGIS Server web service, hosted feature layer, hosted tile layer, OGC WMS, OGS WMTS, tile layer, GeoRSS, Living Atlas layers, basemaps (including Bing Maps basemaps), CSV from the web with latitude and longitude fields, and KML when added to ArcGIS Online through the My Content page.{@linkhttps://doc.arcgis.com/en/arcgis-online/create-maps/set-refresh-interval.htm}.",
|
|
5549
5561
|
"type": "number"
|
|
@@ -3690,6 +3690,28 @@
|
|
|
3690
3690
|
],
|
|
3691
3691
|
"type": "string"
|
|
3692
3692
|
},
|
|
3693
|
+
"PortalItemData": {
|
|
3694
|
+
"additionalProperties": false,
|
|
3695
|
+
"description": "Information about a portal item to be saved.",
|
|
3696
|
+
"properties": {
|
|
3697
|
+
"data": {
|
|
3698
|
+
"description": "The JSON data associated with the item."
|
|
3699
|
+
},
|
|
3700
|
+
"thumbnail": {
|
|
3701
|
+
"description": "The URL of a thumbnail for the item.",
|
|
3702
|
+
"type": "string"
|
|
3703
|
+
},
|
|
3704
|
+
"type": {
|
|
3705
|
+
"description": "The portal type of the item.",
|
|
3706
|
+
"type": "string"
|
|
3707
|
+
}
|
|
3708
|
+
},
|
|
3709
|
+
"required": [
|
|
3710
|
+
"data",
|
|
3711
|
+
"type"
|
|
3712
|
+
],
|
|
3713
|
+
"type": "object"
|
|
3714
|
+
},
|
|
3693
3715
|
"ProjectArgs": {
|
|
3694
3716
|
"additionalProperties": false,
|
|
3695
3717
|
"description": "Arguments for the geometry.project operation.",
|
|
@@ -10910,10 +10932,18 @@
|
|
|
10910
10932
|
"$ref": "#/definitions/esri.rest-api._LayerBase.BlendMode",
|
|
10911
10933
|
"description": "Blend modes are used to blend layers together to create an interesting effect in a layer, or even to produce what seems like a new layer."
|
|
10912
10934
|
},
|
|
10935
|
+
"disablePopup": {
|
|
10936
|
+
"description": "Indicates whether to allow a client to ignore popups defined by the service item.",
|
|
10937
|
+
"type": "boolean"
|
|
10938
|
+
},
|
|
10913
10939
|
"id": {
|
|
10914
10940
|
"description": "A unique identifying string for the layer.",
|
|
10915
10941
|
"type": "string"
|
|
10916
10942
|
},
|
|
10943
|
+
"layerDefinition": {
|
|
10944
|
+
"$ref": "#/definitions/esri.rest-api.LayerDefinition.LayerDefinition",
|
|
10945
|
+
"description": "A layerDefinition object defining the attribute schema and drawing information for the layer."
|
|
10946
|
+
},
|
|
10917
10947
|
"layerType": {
|
|
10918
10948
|
"description": "The type of layer.",
|
|
10919
10949
|
"enum": [
|
|
@@ -10937,6 +10967,10 @@
|
|
|
10937
10967
|
"description": "The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency.",
|
|
10938
10968
|
"type": "number"
|
|
10939
10969
|
},
|
|
10970
|
+
"popupInfo": {
|
|
10971
|
+
"$ref": "#/definitions/esri.rest-api.PopupInfo.PopupInfo",
|
|
10972
|
+
"description": "A PopupInfo object defining the content of pop-up windows when you click or query a feature."
|
|
10973
|
+
},
|
|
10940
10974
|
"refreshInterval": {
|
|
10941
10975
|
"description": "When the refresh interval is set on a layer, the client must refresh that layer only, not the entire web map. The default value is '0', meaning the no refresh. You can enable a refresh interval on the following types of layers: ArcGIS Server web service, hosted feature layer, hosted tile layer, OGC WMS, OGS WMTS, tile layer, GeoRSS, Living Atlas layers, basemaps (including Bing Maps basemaps), CSV from the web with latitude and longitude fields, and KML when added to ArcGIS Online through the My Content page.{@linkhttps://doc.arcgis.com/en/arcgis-online/create-maps/set-refresh-interval.htm}.",
|
|
10942
10976
|
"type": "number"
|
|
@@ -15260,6 +15294,18 @@
|
|
|
15260
15294
|
"map.edit-note:input": {
|
|
15261
15295
|
"$ref": "#/definitions/EditMapNotesArgs"
|
|
15262
15296
|
},
|
|
15297
|
+
"map.export-web-map-or-scene": {
|
|
15298
|
+
"description": "Exports the current configuration of the selected map component as a web map or scene.",
|
|
15299
|
+
"enum": [
|
|
15300
|
+
"map.export-web-map-or-scene"
|
|
15301
|
+
]
|
|
15302
|
+
},
|
|
15303
|
+
"map.export-web-map-or-scene:input": {
|
|
15304
|
+
"$ref": "#/definitions/HasMaps"
|
|
15305
|
+
},
|
|
15306
|
+
"map.export-web-map-or-scene:output": {
|
|
15307
|
+
"$ref": "#/definitions/PortalItemData"
|
|
15308
|
+
},
|
|
15263
15309
|
"map.get-extent": {
|
|
15264
15310
|
"description": "Returns the extent from the specified map.",
|
|
15265
15311
|
"enum": [
|
|
@@ -20393,6 +20439,22 @@
|
|
|
20393
20439
|
],
|
|
20394
20440
|
"type": "object"
|
|
20395
20441
|
},
|
|
20442
|
+
{
|
|
20443
|
+
"additionalProperties": false,
|
|
20444
|
+
"properties": {
|
|
20445
|
+
"arguments": {
|
|
20446
|
+
"$ref": "#/definitions/map.export-web-map-or-scene:input"
|
|
20447
|
+
},
|
|
20448
|
+
"name": {
|
|
20449
|
+
"$ref": "#/definitions/map.export-web-map-or-scene"
|
|
20450
|
+
}
|
|
20451
|
+
},
|
|
20452
|
+
"required": [
|
|
20453
|
+
"name",
|
|
20454
|
+
"arguments"
|
|
20455
|
+
],
|
|
20456
|
+
"type": "object"
|
|
20457
|
+
},
|
|
20396
20458
|
{
|
|
20397
20459
|
"additionalProperties": false,
|
|
20398
20460
|
"properties": {
|
|
@@ -21105,6 +21167,9 @@
|
|
|
21105
21167
|
{
|
|
21106
21168
|
"$ref": "#/definitions/kpi.get-features"
|
|
21107
21169
|
},
|
|
21170
|
+
{
|
|
21171
|
+
"$ref": "#/definitions/map.export-web-map-or-scene"
|
|
21172
|
+
},
|
|
21108
21173
|
{
|
|
21109
21174
|
"$ref": "#/definitions/map.get-extent"
|
|
21110
21175
|
},
|
|
@@ -5630,10 +5630,18 @@
|
|
|
5630
5630
|
"$ref": "#/definitions/esri.rest-api._LayerBase.BlendMode",
|
|
5631
5631
|
"description": "Blend modes are used to blend layers together to create an interesting effect in a layer, or even to produce what seems like a new layer."
|
|
5632
5632
|
},
|
|
5633
|
+
"disablePopup": {
|
|
5634
|
+
"description": "Indicates whether to allow a client to ignore popups defined by the service item.",
|
|
5635
|
+
"type": "boolean"
|
|
5636
|
+
},
|
|
5633
5637
|
"id": {
|
|
5634
5638
|
"description": "A unique identifying string for the layer.",
|
|
5635
5639
|
"type": "string"
|
|
5636
5640
|
},
|
|
5641
|
+
"layerDefinition": {
|
|
5642
|
+
"$ref": "#/definitions/esri.rest-api.LayerDefinition.LayerDefinition",
|
|
5643
|
+
"description": "A layerDefinition object defining the attribute schema and drawing information for the layer."
|
|
5644
|
+
},
|
|
5637
5645
|
"layerType": {
|
|
5638
5646
|
"description": "The type of layer.",
|
|
5639
5647
|
"enum": [
|
|
@@ -5657,6 +5665,10 @@
|
|
|
5657
5665
|
"description": "The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency.",
|
|
5658
5666
|
"type": "number"
|
|
5659
5667
|
},
|
|
5668
|
+
"popupInfo": {
|
|
5669
|
+
"$ref": "#/definitions/esri.rest-api.PopupInfo.PopupInfo",
|
|
5670
|
+
"description": "A PopupInfo object defining the content of pop-up windows when you click or query a feature."
|
|
5671
|
+
},
|
|
5660
5672
|
"refreshInterval": {
|
|
5661
5673
|
"description": "When the refresh interval is set on a layer, the client must refresh that layer only, not the entire web map. The default value is '0', meaning the no refresh. You can enable a refresh interval on the following types of layers: ArcGIS Server web service, hosted feature layer, hosted tile layer, OGC WMS, OGS WMTS, tile layer, GeoRSS, Living Atlas layers, basemaps (including Bing Maps basemaps), CSV from the web with latitude and longitude fields, and KML when added to ArcGIS Online through the My Content page.{@linkhttps://doc.arcgis.com/en/arcgis-online/create-maps/set-refresh-interval.htm}.",
|
|
5662
5674
|
"type": "number"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vertigis/viewer-spec",
|
|
3
|
-
"version": "48.
|
|
3
|
+
"version": "48.5.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE",
|
|
5
5
|
"description": "VertiGIS Viewer Specification",
|
|
6
6
|
"type": "module",
|
|
@@ -33,11 +33,11 @@
|
|
|
33
33
|
},
|
|
34
34
|
"author": "VertiGIS Ltd.",
|
|
35
35
|
"peerDependencies": {
|
|
36
|
-
"@vertigis/arcgis-extensions": ">= 35.
|
|
36
|
+
"@vertigis/arcgis-extensions": ">= 35.5.0 < 36.0.0"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@arcgis/core": "4.23.3",
|
|
40
|
-
"@vertigis/arcgis-extensions": "35.
|
|
40
|
+
"@vertigis/arcgis-extensions": "35.5.0",
|
|
41
41
|
"@prettier/plugin-xml": "2.2.0",
|
|
42
42
|
"@types/glob": "7.2.0",
|
|
43
43
|
"@types/node": "14.14.41",
|
package/version.d.ts
CHANGED
package/version.js
CHANGED