@vertigis/viewer-spec
Version:
VertiGIS Viewer Specification
1 lines • 4.67 kB
JavaScript
import{CommandRegistry as e}from"../CommandRegistry.js";import{EventRegistry as t}from"../EventRegistry.js";import{OperationRegistry as r}from"../OperationRegistry.js";export class MapCommands extends e{_prefix="map";get addMarkup(){return this._get("add-markup")}get addLayers(){return this._get("add-layers")}get applyFilterEffect(){return this._get("apply-filter-effect")}get applyLayerPreset(){return this._get("apply-layer-preset")}get createNote(){return this._get("create-note")}get editNote(){return this._get("edit-note")}get removeFilterEffects(){return this._get("remove-filter-effects")}get clearFilterEffects(){return this._get("clear-filter-effects")}get clearMarkup(){return this._get("clear-markup")}get disableMapClick(){return this._get("disable-map-click")}get displayExtentSelector(){return this._get("display-extent-selector")}get enableMapClick(){return this._get("enable-map-click")}get goToFeatures(){return this._get("go-to-features")}get goToGeometry(){return this._get("go-to-geometry")}get goToNextViewpoint(){return this._get("go-to-next-viewpoint")}get goToPreviousViewpoint(){return this._get("go-to-previous-viewpoint")}get goToViewpoint(){return this._get("go-to-viewpoint")}get goToScale(){return this._get("go-to-scale")}get goToInitialViewpoint(){return this._get("go-to-initial-viewpoint")}get goToLayerExtent(){return this._get("go-to-layer-extent")}get hideExtentSelector(){return this._get("hide-extent-selector")}get hideMarkup(){return this._get("hide-markup")}get panToFeatures(){return this._get("pan-to-features")}get panToGeometry(){return this._get("pan-to-geometry")}get panToGeometries(){return this._get("pan-to-geometries")}get pauseSketch(){return this._get("pause-sketch")}get removeLayers(){return this._get("remove-layers")}get replace(){return this._get("replace")}get replaceAdditionalLayers(){return this._get("replace-additional-layers")}get replaceMmpk(){return this._get("replace-mmpk")}get resumeSketch(){return this._get("resume-sketch")}get rotateBy(){return this._get("rotate-by")}get rotateTo(){return this._get("rotate-to")}get refresh(){return this._get("refresh")}get setViewMode(){return this._get("set-view-mode")}get showMarkup(){return this._get("show-markup")}get updateLayer(){return this._get("update-layer")}get zoomToFeatures(){return this._get("zoom-to-features")}get zoomToGeometry(){return this._get("zoom-to-geometry")}get zoomIn(){return this._get("zoom-in")}get zoomOut(){return this._get("zoom-out")}get zoomToScale(){return this._get("zoom-to-scale")}get zoomToInitialViewpoint(){return this._get("zoom-to-initial-viewpoint")}get zoomToNextViewpoint(){return this._get("zoom-to-next-viewpoint")}get zoomToPreviousViewpoint(){return this._get("zoom-to-previous-viewpoint")}get zoomToViewpoint(){return this._get("zoom-to-viewpoint")}get zoomToLayerExtent(){return this._get("zoom-to-layer-extent")}get zoomToLayerVisibleScale(){return this._get("zoom-to-layer-visible-scale")}}export class MapEvents extends t{_prefix="map";get initialized(){return this._get("initialized")}get initializing(){return this._get("initializing")}get markupAdded(){return this._get("markup-added")}get markupCleared(){return this._get("markup-cleared")}get navigationCompleted(){return this._get("navigation-completed")}get refreshed(){return this._get("refreshed")}get refreshing(){return this._get("refreshing")}get rotated(){return this._get("rotated")}get rotating(){return this._get("rotating")}get switched(){return this._get("switched")}get viewModeChanged(){return this._get("view-mode-changed")}get viewpointChanged(){return this._get("viewpoint-changed")}get imageExported(){return this._get("image-exported")}}export class MapOperations extends r{_prefix="map";get getUserCoordinatesInput(){return this._get("get-user-coordinates-input")}get getCoordinateTransformation(){return this._get("get-coordinate-transformation")}get exportImage(){return this._get("export-image")}get exportWebMapOrScene(){return this._get("export-web-map-or-scene")}get getMarkup(){return this._get("get-markup")}get getExtent(){return this._get("get-extent")}get getGeometryFromSelector(){return this._get("get-geometry-from-selector")}get getInitialViewpoint(){return this._get("get-initial-viewpoint")}get getViewpoint(){return this._get("get-viewpoint")}get getSpatialReference(){return this._get("get-spatial-reference")}get getVisibleCenter(){return this._get("get-visible-center")}get hide(){return this._get("hide")}get show(){return this._get("show")}get startSketch(){return this._get("start-sketch")}get stopSketch(){return this._get("stop-sketch")}get getViewInsets(){return this._get("get-view-insets")}}