@vertigis/viewer-spec 42.10.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/LICENSE +5 -0
- package/README.md +3 -0
- package/app-config/AppConfig.d.ts +55 -0
- package/app-config/AppConfig.js +1 -0
- package/app-config/ItemConfig.d.ts +18 -0
- package/app-config/ItemConfig.js +1 -0
- package/app-config/common/BasemapPickerModelProperties.d.ts +6 -0
- package/app-config/common/BasemapPickerModelProperties.js +1 -0
- package/app-config/common/BookmarksModelProperties.d.ts +17 -0
- package/app-config/common/BookmarksModelProperties.js +1 -0
- package/app-config/common/BrandingColors.d.ts +94 -0
- package/app-config/common/BrandingColors.js +1 -0
- package/app-config/common/BrandingModelProperties.d.ts +23 -0
- package/app-config/common/BrandingModelProperties.js +1 -0
- package/app-config/common/BrandingThemeProperties.d.ts +35 -0
- package/app-config/common/BrandingThemeProperties.js +1 -0
- package/app-config/common/CompassModelProperties.d.ts +6 -0
- package/app-config/common/CompassModelProperties.js +1 -0
- package/app-config/common/ComponentModelProperties.d.ts +14 -0
- package/app-config/common/ComponentModelProperties.js +1 -0
- package/app-config/common/CoordinateModelProperties.d.ts +34 -0
- package/app-config/common/CoordinateModelProperties.js +1 -0
- package/app-config/common/DialogModelProperties.d.ts +6 -0
- package/app-config/common/DialogModelProperties.js +1 -0
- package/app-config/common/ExpandModelProperties.d.ts +6 -0
- package/app-config/common/ExpandModelProperties.js +1 -0
- package/app-config/common/FeatureDetailsModelProperties.d.ts +27 -0
- package/app-config/common/FeatureDetailsModelProperties.js +1 -0
- package/app-config/common/GeolocationModelProperties.d.ts +6 -0
- package/app-config/common/GeolocationModelProperties.js +1 -0
- package/app-config/common/HighlightModelProperties.d.ts +69 -0
- package/app-config/common/HighlightModelProperties.js +1 -0
- package/app-config/common/ImageModelProperties.d.ts +14 -0
- package/app-config/common/ImageModelProperties.js +1 -0
- package/app-config/common/ItemRef.d.ts +4 -0
- package/app-config/common/ItemRef.js +1 -0
- package/app-config/common/LayerListModelProperties.d.ts +12 -0
- package/app-config/common/LayerListModelProperties.js +1 -0
- package/app-config/common/LayerPresetsModelProperties.d.ts +14 -0
- package/app-config/common/LayerPresetsModelProperties.js +1 -0
- package/app-config/common/LayoutProperties.d.ts +33 -0
- package/app-config/common/LayoutProperties.js +1 -0
- package/app-config/common/LegendModelProperties.d.ts +6 -0
- package/app-config/common/LegendModelProperties.js +1 -0
- package/app-config/common/LicensingModelProperties.d.ts +10 -0
- package/app-config/common/LicensingModelProperties.js +1 -0
- package/app-config/common/MapCoordinatesModelProperties.d.ts +6 -0
- package/app-config/common/MapCoordinatesModelProperties.js +1 -0
- package/app-config/common/MapModelProperties.d.ts +7 -0
- package/app-config/common/MapModelProperties.js +1 -0
- package/app-config/common/MenuModelProperties.d.ts +13 -0
- package/app-config/common/MenuModelProperties.js +1 -0
- package/app-config/common/ModelProperties.d.ts +6 -0
- package/app-config/common/ModelProperties.js +1 -0
- package/app-config/common/PanelModelProperties.d.ts +6 -0
- package/app-config/common/PanelModelProperties.js +1 -0
- package/app-config/common/RegionModelProperties.d.ts +26 -0
- package/app-config/common/RegionModelProperties.js +1 -0
- package/app-config/common/ResultsModelProperties.d.ts +12 -0
- package/app-config/common/ResultsModelProperties.js +1 -0
- package/app-config/common/ScalebarModelProperties.d.ts +6 -0
- package/app-config/common/ScalebarModelProperties.js +1 -0
- package/app-config/common/SearchModelProperties.d.ts +26 -0
- package/app-config/common/SearchModelProperties.js +1 -0
- package/app-config/common/ServiceModelProperties.d.ts +6 -0
- package/app-config/common/ServiceModelProperties.js +1 -0
- package/app-config/common/SplitModelProperties.d.ts +6 -0
- package/app-config/common/SplitModelProperties.js +1 -0
- package/app-config/common/StackModelProperties.d.ts +6 -0
- package/app-config/common/StackModelProperties.js +1 -0
- package/app-config/common/TextModelProperties.d.ts +10 -0
- package/app-config/common/TextModelProperties.js +1 -0
- package/app-config/common/TranslatableText.d.ts +27 -0
- package/app-config/common/TranslatableText.js +1 -0
- package/app-config/common/UserModelProperties.d.ts +6 -0
- package/app-config/common/UserModelProperties.js +1 -0
- package/app-config/common/WorkflowEventsProperties.d.ts +11 -0
- package/app-config/common/WorkflowEventsProperties.js +1 -0
- package/app-config/common/WorkflowModelProperties.d.ts +44 -0
- package/app-config/common/WorkflowModelProperties.js +1 -0
- package/app-config/common/ZoomModelProperties.d.ts +6 -0
- package/app-config/common/ZoomModelProperties.js +1 -0
- package/app-config/common/colors.d.ts +6 -0
- package/app-config/common/colors.js +1 -0
- package/app-config/index.d.ts +2 -0
- package/app-config/index.js +1 -0
- package/app-config/mobile/AddFeatureModelProperties.d.ts +6 -0
- package/app-config/mobile/AddFeatureModelProperties.js +1 -0
- package/app-config/mobile/AddRelatedFeatureModelProperties.d.ts +6 -0
- package/app-config/mobile/AddRelatedFeatureModelProperties.js +1 -0
- package/app-config/mobile/BasemapModelProperties.d.ts +11 -0
- package/app-config/mobile/BasemapModelProperties.js +1 -0
- package/app-config/mobile/FeatureDetailsModelProperties.d.ts +23 -0
- package/app-config/mobile/FeatureDetailsModelProperties.js +1 -0
- package/app-config/mobile/GeometryToolbarModelProperties.d.ts +6 -0
- package/app-config/mobile/GeometryToolbarModelProperties.js +1 -0
- package/app-config/mobile/GnssDeviceSelectionModelProperties.d.ts +6 -0
- package/app-config/mobile/GnssDeviceSelectionModelProperties.js +1 -0
- package/app-config/mobile/GnssDeviceSettingsModelProperties.d.ts +6 -0
- package/app-config/mobile/GnssDeviceSettingsModelProperties.js +1 -0
- package/app-config/mobile/GnssMetadataModelProperties.d.ts +6 -0
- package/app-config/mobile/GnssMetadataModelProperties.js +1 -0
- package/app-config/mobile/MapModelProperties.d.ts +45 -0
- package/app-config/mobile/MapModelProperties.js +1 -0
- package/app-config/mobile/OfflineModelProperties.d.ts +48 -0
- package/app-config/mobile/OfflineModelProperties.js +1 -0
- package/app-config/mobile/PortalExtensionSettingsProperties.d.ts +27 -0
- package/app-config/mobile/PortalExtensionSettingsProperties.js +1 -0
- package/app-config/mobile/ScrollModelProperties.d.ts +6 -0
- package/app-config/mobile/ScrollModelProperties.js +1 -0
- package/app-config/mobile/SelectLayerSettingsModelProperties.d.ts +11 -0
- package/app-config/mobile/SelectLayerSettingsModelProperties.js +1 -0
- package/app-config/mobile/TaskbarModelProperties.d.ts +6 -0
- package/app-config/mobile/TaskbarModelProperties.js +1 -0
- package/app-config/mobile/UpdateFeatureModelProperties.d.ts +6 -0
- package/app-config/mobile/UpdateFeatureModelProperties.js +1 -0
- package/app-config/mobile/VertigisMobileModelProperties.d.ts +65 -0
- package/app-config/mobile/VertigisMobileModelProperties.js +1 -0
- package/app-config/schema/common-app-config.schema.json +1 -0
- package/app-config/schema/mobile-app-config.schema.json +1 -0
- package/app-config/schema/web-app-config.schema.json +1 -0
- package/app-config/web/AddressModelProperties.d.ts +6 -0
- package/app-config/web/AddressModelProperties.js +1 -0
- package/app-config/web/BasemapPickerModelProperties.d.ts +7 -0
- package/app-config/web/BasemapPickerModelProperties.js +1 -0
- package/app-config/web/BookmarksModelProperties.d.ts +7 -0
- package/app-config/web/BookmarksModelProperties.js +1 -0
- package/app-config/web/BrandingModelProperties.d.ts +14 -0
- package/app-config/web/BrandingModelProperties.js +1 -0
- package/app-config/web/ChartModelProperties.d.ts +58 -0
- package/app-config/web/ChartModelProperties.js +1 -0
- package/app-config/web/CompassModelProperties.d.ts +7 -0
- package/app-config/web/CompassModelProperties.js +1 -0
- package/app-config/web/ComponentModelProperties.d.ts +12 -0
- package/app-config/web/ComponentModelProperties.js +1 -0
- package/app-config/web/CoordinateModelProperties.d.ts +7 -0
- package/app-config/web/CoordinateModelProperties.js +1 -0
- package/app-config/web/DialogModelProperties.d.ts +7 -0
- package/app-config/web/DialogModelProperties.js +1 -0
- package/app-config/web/DrawModelProperties.d.ts +102 -0
- package/app-config/web/DrawModelProperties.js +1 -0
- package/app-config/web/FeatureDetailsModelProperties.d.ts +12 -0
- package/app-config/web/FeatureDetailsModelProperties.js +1 -0
- package/app-config/web/FeatureInfoModelProperties.d.ts +22 -0
- package/app-config/web/FeatureInfoModelProperties.js +1 -0
- package/app-config/web/FeatureListProperties.d.ts +12 -0
- package/app-config/web/FeatureListProperties.js +1 -0
- package/app-config/web/FeatureSetProperties.d.ts +16 -0
- package/app-config/web/FeatureSetProperties.js +1 -0
- package/app-config/web/FeatureSummaryModelProperties.d.ts +22 -0
- package/app-config/web/FeatureSummaryModelProperties.js +1 -0
- package/app-config/web/GeolocationModelProperties.d.ts +7 -0
- package/app-config/web/GeolocationModelProperties.js +1 -0
- package/app-config/web/GeometryModelProperties.d.ts +27 -0
- package/app-config/web/GeometryModelProperties.js +1 -0
- package/app-config/web/HasVisibilityFilters.d.ts +35 -0
- package/app-config/web/HasVisibilityFilters.js +1 -0
- package/app-config/web/ImageModelProperties.d.ts +7 -0
- package/app-config/web/ImageModelProperties.js +1 -0
- package/app-config/web/KpiCardModelProperties.d.ts +145 -0
- package/app-config/web/KpiCardModelProperties.js +1 -0
- package/app-config/web/LayerListModelProperties.d.ts +7 -0
- package/app-config/web/LayerListModelProperties.js +1 -0
- package/app-config/web/LayerPresetsModelProperties.d.ts +7 -0
- package/app-config/web/LayerPresetsModelProperties.js +1 -0
- package/app-config/web/LegendModelProperties.d.ts +7 -0
- package/app-config/web/LegendModelProperties.js +1 -0
- package/app-config/web/Map3dToggleModelProperties.d.ts +6 -0
- package/app-config/web/Map3dToggleModelProperties.js +1 -0
- package/app-config/web/MapCoordinatesModelProperties.d.ts +43 -0
- package/app-config/web/MapCoordinatesModelProperties.js +1 -0
- package/app-config/web/MapModelProperties.d.ts +81 -0
- package/app-config/web/MapModelProperties.js +1 -0
- package/app-config/web/MeasurementModelProperties.d.ts +36 -0
- package/app-config/web/MeasurementModelProperties.js +1 -0
- package/app-config/web/MenuItemModelProperties.d.ts +7 -0
- package/app-config/web/MenuItemModelProperties.js +1 -0
- package/app-config/web/MenuModelProperties.d.ts +13 -0
- package/app-config/web/MenuModelProperties.js +1 -0
- package/app-config/web/ModelProperties.d.ts +7 -0
- package/app-config/web/ModelProperties.js +1 -0
- package/app-config/web/PanelModelProperties.d.ts +7 -0
- package/app-config/web/PanelModelProperties.js +1 -0
- package/app-config/web/PortalModelProperties.d.ts +10 -0
- package/app-config/web/PortalModelProperties.js +1 -0
- package/app-config/web/PrintFormModelProperties.d.ts +42 -0
- package/app-config/web/PrintFormModelProperties.js +1 -0
- package/app-config/web/ReportModelProperties.d.ts +15 -0
- package/app-config/web/ReportModelProperties.js +1 -0
- package/app-config/web/ResultsModelProperties.d.ts +93 -0
- package/app-config/web/ResultsModelProperties.js +1 -0
- package/app-config/web/ScaleInputModelProperties.d.ts +6 -0
- package/app-config/web/ScaleInputModelProperties.js +1 -0
- package/app-config/web/ScalebarModelProperties.d.ts +22 -0
- package/app-config/web/ScalebarModelProperties.js +1 -0
- package/app-config/web/SearchModelProperties.d.ts +22 -0
- package/app-config/web/SearchModelProperties.js +1 -0
- package/app-config/web/SplitModelProperties.d.ts +7 -0
- package/app-config/web/SplitModelProperties.js +1 -0
- package/app-config/web/StackModelProperties.d.ts +7 -0
- package/app-config/web/StackModelProperties.js +1 -0
- package/app-config/web/TabsModelProperties.d.ts +6 -0
- package/app-config/web/TabsModelProperties.js +1 -0
- package/app-config/web/TextModelProperties.d.ts +7 -0
- package/app-config/web/TextModelProperties.js +1 -0
- package/app-config/web/UserModelProperties.d.ts +12 -0
- package/app-config/web/UserModelProperties.js +1 -0
- package/app-config/web/UserPreferencesModelProperties.d.ts +10 -0
- package/app-config/web/UserPreferencesModelProperties.js +1 -0
- package/app-config/web/VertigisWebModelProperties.d.ts +84 -0
- package/app-config/web/VertigisWebModelProperties.js +1 -0
- package/app-config/web/WorkflowModelProperties.d.ts +7 -0
- package/app-config/web/WorkflowModelProperties.js +1 -0
- package/app-config/web/ZoomModelProperties.d.ts +7 -0
- package/app-config/web/ZoomModelProperties.js +1 -0
- package/docs/Geocortex Apps.md +311 -0
- package/docs/layout-spec.md +720 -0
- package/docs/presentation.md +98 -0
- package/layout/schema/layout-common.xsd +849 -0
- package/layout/schema/layout-mobile.xsd +256 -0
- package/layout/schema/layout-web.xsd +248 -0
- package/layout/schema/schema-reference-example.xml +14 -0
- package/messaging/Command.d.ts +74 -0
- package/messaging/Command.js +1 -0
- package/messaging/CommandRegistry.d.ts +13 -0
- package/messaging/CommandRegistry.js +1 -0
- package/messaging/Event.d.ts +25 -0
- package/messaging/Event.js +1 -0
- package/messaging/EventRegistry.d.ts +13 -0
- package/messaging/EventRegistry.js +1 -0
- package/messaging/Message.d.ts +23 -0
- package/messaging/Message.js +1 -0
- package/messaging/MessageBus.d.ts +54 -0
- package/messaging/MessageBus.js +1 -0
- package/messaging/Operation.d.ts +53 -0
- package/messaging/Operation.js +1 -0
- package/messaging/OperationRegistry.d.ts +13 -0
- package/messaging/OperationRegistry.js +1 -0
- package/messaging/common.d.ts +246 -0
- package/messaging/common.js +1 -0
- package/messaging/mobile.d.ts +13 -0
- package/messaging/mobile.js +1 -0
- package/messaging/registry/Commands.d.ts +65 -0
- package/messaging/registry/Commands.js +1 -0
- package/messaging/registry/Events.d.ts +53 -0
- package/messaging/registry/Events.js +1 -0
- package/messaging/registry/Operations.d.ts +54 -0
- package/messaging/registry/Operations.js +1 -0
- package/messaging/registry/app-config.d.ts +11 -0
- package/messaging/registry/app-config.js +1 -0
- package/messaging/registry/app.d.ts +136 -0
- package/messaging/registry/app.js +1 -0
- package/messaging/registry/auth.d.ts +125 -0
- package/messaging/registry/auth.js +1 -0
- package/messaging/registry/basemap.d.ts +52 -0
- package/messaging/registry/basemap.js +1 -0
- package/messaging/registry/charts.d.ts +78 -0
- package/messaging/registry/charts.js +1 -0
- package/messaging/registry/debugConsole.d.ts +24 -0
- package/messaging/registry/debugConsole.js +1 -0
- package/messaging/registry/device.d.ts +15 -0
- package/messaging/registry/device.js +1 -0
- package/messaging/registry/display.d.ts +16 -0
- package/messaging/registry/display.js +1 -0
- package/messaging/registry/drawing.d.ts +126 -0
- package/messaging/registry/drawing.js +1 -0
- package/messaging/registry/edit.d.ts +123 -0
- package/messaging/registry/edit.js +1 -0
- package/messaging/registry/file.d.ts +58 -0
- package/messaging/registry/file.js +1 -0
- package/messaging/registry/geocode.d.ts +91 -0
- package/messaging/registry/geocode.js +1 -0
- package/messaging/registry/geolocation.d.ts +268 -0
- package/messaging/registry/geolocation.js +1 -0
- package/messaging/registry/geometry-toolbar.d.ts +28 -0
- package/messaging/registry/geometry-toolbar.js +1 -0
- package/messaging/registry/geometry.d.ts +101 -0
- package/messaging/registry/geometry.js +1 -0
- package/messaging/registry/highlights.d.ts +83 -0
- package/messaging/registry/highlights.js +1 -0
- package/messaging/registry/input.d.ts +21 -0
- package/messaging/registry/input.js +1 -0
- package/messaging/registry/iwtm.d.ts +10 -0
- package/messaging/registry/iwtm.js +1 -0
- package/messaging/registry/kpi.d.ts +95 -0
- package/messaging/registry/kpi.js +1 -0
- package/messaging/registry/layer-comparison.d.ts +102 -0
- package/messaging/registry/layer-comparison.js +1 -0
- package/messaging/registry/layer-presets.d.ts +28 -0
- package/messaging/registry/layer-presets.js +1 -0
- package/messaging/registry/layers.d.ts +45 -0
- package/messaging/registry/layers.js +1 -0
- package/messaging/registry/layout.d.ts +48 -0
- package/messaging/registry/layout.js +1 -0
- package/messaging/registry/location-marker.d.ts +172 -0
- package/messaging/registry/location-marker.js +1 -0
- package/messaging/registry/logViewer.d.ts +16 -0
- package/messaging/registry/logViewer.js +1 -0
- package/messaging/registry/map.d.ts +893 -0
- package/messaging/registry/map.js +1 -0
- package/messaging/registry/measurement.d.ts +142 -0
- package/messaging/registry/measurement.js +1 -0
- package/messaging/registry/messaging.d.ts +22 -0
- package/messaging/registry/messaging.js +1 -0
- package/messaging/registry/network.d.ts +50 -0
- package/messaging/registry/network.js +1 -0
- package/messaging/registry/offline.d.ts +357 -0
- package/messaging/registry/offline.js +1 -0
- package/messaging/registry/panel.d.ts +93 -0
- package/messaging/registry/panel.js +1 -0
- package/messaging/registry/photos.d.ts +45 -0
- package/messaging/registry/photos.js +1 -0
- package/messaging/registry/portal.d.ts +47 -0
- package/messaging/registry/portal.js +1 -0
- package/messaging/registry/printing.d.ts +138 -0
- package/messaging/registry/printing.js +1 -0
- package/messaging/registry/region.d.ts +21 -0
- package/messaging/registry/region.js +1 -0
- package/messaging/registry/reports.d.ts +112 -0
- package/messaging/registry/reports.js +1 -0
- package/messaging/registry/results.d.ts +454 -0
- package/messaging/registry/results.js +1 -0
- package/messaging/registry/search.d.ts +51 -0
- package/messaging/registry/search.js +1 -0
- package/messaging/registry/sketching.d.ts +521 -0
- package/messaging/registry/sketching.js +1 -0
- package/messaging/registry/system.d.ts +117 -0
- package/messaging/registry/system.js +1 -0
- package/messaging/registry/tasks.d.ts +178 -0
- package/messaging/registry/tasks.js +1 -0
- package/messaging/registry/ui.d.ts +361 -0
- package/messaging/registry/ui.js +1 -0
- package/messaging/registry/viewer.d.ts +95 -0
- package/messaging/registry/viewer.js +1 -0
- package/messaging/registry/workflow.d.ts +134 -0
- package/messaging/registry/workflow.js +1 -0
- package/messaging/schema/common-action.schema.json +11130 -0
- package/messaging/schema/common-event.schema.json +7955 -0
- package/messaging/schema/mobile-action.schema.json +14328 -0
- package/messaging/schema/mobile-event.schema.json +9245 -0
- package/messaging/schema/web-action.schema.json +18896 -0
- package/messaging/schema/web-event.schema.json +8515 -0
- package/package.json +71 -0
- package/version.d.ts +4 -0
- package/version.js +4 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{CommandRegistry}from"../CommandRegistry.js";import{EventRegistry}from"../EventRegistry.js";import{OperationRegistry}from"../OperationRegistry.js";export class ResultsCommands extends CommandRegistry{get display(){return this._messages.command("results.display")}get setDisplayComponents(){return this._messages.command("results.set-display-components")}get displayDetails(){return this._messages.command("results.display-details")}get displaySummary(){return this._messages.command("results.display-summary")}get displayNewDetails(){return this._messages.command("results.display-new-details")}get add(){return this._messages.command("results.add")}get intersect(){return this._messages.command("results.intersect")}get remove(){return this._messages.command("results.remove")}get clear(){return this._messages.command("results.clear")}get clearDetails(){return this._messages.command("results.clear-details")}get hideDetails(){return this._messages.command("results.hide-details")}get openAttachment(){return this._messages.command("results.open-attachment")}get refresh(){return this._messages.command("results.refresh")}get setListViewMode(){return this._messages.command("results.set-list-view-mode")}get setListCardSize(){return this._messages.command("results.set-list-card-size")}}export class ResultsEvents extends EventRegistry{get displayed(){return this._messages.event("results.displayed")}}export class ResultsOperations extends OperationRegistry{get convertToCsv(){return this._messages.operation("results.convert-to-csv")}get convertToXlsx(){return this._messages.operation("results.convert-to-xlsx")}get convertToShapefile(){return this._messages.operation("results.convert-to-shapefile")}get convertToLayers(){return this._messages.operation("results.convert-to-layers")}get fromCsv(){return this._messages.operation("results.from-csv")}get fromShapefile(){return this._messages.operation("results.from-shapefile")}get fromXlsx(){return this._messages.operation("results.from-xlsx")}get fromGraphics(){return this._messages.operation("results.from-graphics")}get toGraphics(){return this._messages.operation("results.to-graphics")}get getFeatures(){return this._messages.operation("results.get-features")}get filter(){return this._messages.operation("results.filter")}}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import type { Command } from "../Command.js";
|
|
2
|
+
import { CommandRegistry } from "../CommandRegistry.js";
|
|
3
|
+
import type { Event } from "../Event.js";
|
|
4
|
+
import { EventRegistry } from "../EventRegistry.js";
|
|
5
|
+
import type { Features } from "../common.js";
|
|
6
|
+
import type { SearchArgs } from "./tasks.js";
|
|
7
|
+
/**
|
|
8
|
+
* The search source.
|
|
9
|
+
*/
|
|
10
|
+
export declare enum SearchSource {
|
|
11
|
+
ADDRESSES = "addresses",
|
|
12
|
+
FEATURES = "features"
|
|
13
|
+
}
|
|
14
|
+
export declare class SearchCommands extends CommandRegistry {
|
|
15
|
+
/**
|
|
16
|
+
* Clears the search input.
|
|
17
|
+
*/
|
|
18
|
+
get clear(): Command;
|
|
19
|
+
/**
|
|
20
|
+
* Sets the search source.
|
|
21
|
+
*
|
|
22
|
+
* @mobileOnly
|
|
23
|
+
*/
|
|
24
|
+
get setSource(): Command<SearchSource>;
|
|
25
|
+
}
|
|
26
|
+
export declare class SearchEvents extends EventRegistry {
|
|
27
|
+
/**
|
|
28
|
+
* Raised when a search component is activated.
|
|
29
|
+
*
|
|
30
|
+
* @mobileOnly
|
|
31
|
+
*/
|
|
32
|
+
get activated(): Event;
|
|
33
|
+
/**
|
|
34
|
+
* Raised when a search completes.
|
|
35
|
+
*
|
|
36
|
+
* @mobileOnly
|
|
37
|
+
*/
|
|
38
|
+
get completed(): Event<Features>;
|
|
39
|
+
/**
|
|
40
|
+
* Raised when a search begins.
|
|
41
|
+
*
|
|
42
|
+
* @mobileOnly
|
|
43
|
+
*/
|
|
44
|
+
get started(): Event<SearchArgs>;
|
|
45
|
+
/**
|
|
46
|
+
* Raised when a search component is deactivated.
|
|
47
|
+
*
|
|
48
|
+
* @mobileOnly
|
|
49
|
+
*/
|
|
50
|
+
get deactivated(): Event;
|
|
51
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{CommandRegistry}from"../CommandRegistry.js";import{EventRegistry}from"../EventRegistry.js";export var SearchSource;!function(e){e.ADDRESSES="addresses",e.FEATURES="features"}(SearchSource||(SearchSource={}));export class SearchCommands extends CommandRegistry{get clear(){return this._messages.command("search.clear")}get setSource(){return this._messages.command("search.set-source")}}export class SearchEvents extends EventRegistry{get activated(){return this._messages.event("search.activated")}get completed(){return this._messages.event("search.completed")}get started(){return this._messages.event("search.started")}get deactivated(){return this._messages.event("search.deactivated")}}
|
|
@@ -0,0 +1,521 @@
|
|
|
1
|
+
import type Graphic from "@arcgis/core/Graphic";
|
|
2
|
+
import type Geometry from "@arcgis/core/geometry/Geometry";
|
|
3
|
+
import type Point from "@arcgis/core/geometry/Point";
|
|
4
|
+
import type LineSymbol3D from "@arcgis/core/symbols/LineSymbol3D";
|
|
5
|
+
import type PictureFillSymbol from "@arcgis/core/symbols/PictureFillSymbol";
|
|
6
|
+
import type PictureMarkerSymbol from "@arcgis/core/symbols/PictureMarkerSymbol";
|
|
7
|
+
import type PointSymbol3D from "@arcgis/core/symbols/PointSymbol3D";
|
|
8
|
+
import type PolygonSymbol3D from "@arcgis/core/symbols/PolygonSymbol3D";
|
|
9
|
+
import type SimpleFillSymbol from "@arcgis/core/symbols/SimpleFillSymbol";
|
|
10
|
+
import type SimpleLineSymbol from "@arcgis/core/symbols/SimpleLineSymbol";
|
|
11
|
+
import type SimpleMarkerSymbol from "@arcgis/core/symbols/SimpleMarkerSymbol";
|
|
12
|
+
import type Symbol from "@arcgis/core/symbols/Symbol";
|
|
13
|
+
import type TextSymbol from "@arcgis/core/symbols/TextSymbol";
|
|
14
|
+
import type { MapExtension } from "@vertigis/arcgis-extensions/mapping/MapExtension";
|
|
15
|
+
import type { LineSymbol3D as LineSymbol3DProperties } from "@vertigis/arcgis-extensions/portal/LineSymbol3D";
|
|
16
|
+
import type { PictureFillSymbol as PictureFillSymbolProperties } from "@vertigis/arcgis-extensions/portal/PictureFillSymbol";
|
|
17
|
+
import type { PictureMarkerSymbol as PictureMarkerSymbolProperties } from "@vertigis/arcgis-extensions/portal/PictureMarkerSymbol";
|
|
18
|
+
import type { PointSymbol3D as PointSymbol3DProperties } from "@vertigis/arcgis-extensions/portal/PointSymbol3D";
|
|
19
|
+
import type { PolygonSymbol3D as PolygonSymbol3DProperties } from "@vertigis/arcgis-extensions/portal/PolygonSymbol3D";
|
|
20
|
+
import type { SimpleFillSymbol as SimpleFillSymbolProperties } from "@vertigis/arcgis-extensions/portal/SimpleFillSymbol";
|
|
21
|
+
import type { SimpleLineSymbol as SimpleLineSymbolProperties } from "@vertigis/arcgis-extensions/portal/SimpleLineSymbol";
|
|
22
|
+
import type { SimpleMarkerSymbol as SimpleMarkerSymbolProperties } from "@vertigis/arcgis-extensions/portal/SimpleMarkerSymbol";
|
|
23
|
+
import type { Symbol as SymbolJson } from "@vertigis/arcgis-extensions/portal/Symbol";
|
|
24
|
+
import type { ItemRef } from "../../app-config/common/ItemRef.js";
|
|
25
|
+
import type { Command } from "../Command.js";
|
|
26
|
+
import { CommandRegistry } from "../CommandRegistry.js";
|
|
27
|
+
import type { Operation } from "../Operation.js";
|
|
28
|
+
import { OperationRegistry } from "../OperationRegistry.js";
|
|
29
|
+
import type { FeaturesLike, GeometryLike, GraphicsLike, HasMaps, MapsLike } from "../common.js";
|
|
30
|
+
import type { LengthUnits } from "./geometry.js";
|
|
31
|
+
/**
|
|
32
|
+
* A representation of a 2D vector or point.
|
|
33
|
+
*/
|
|
34
|
+
export interface Vector2D {
|
|
35
|
+
/**
|
|
36
|
+
* The x component.
|
|
37
|
+
*/
|
|
38
|
+
x: number;
|
|
39
|
+
/**
|
|
40
|
+
* The y component.
|
|
41
|
+
*/
|
|
42
|
+
y: number;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* A set of symbols that can be used to sketch geometries.
|
|
46
|
+
*/
|
|
47
|
+
export interface SymbolSet {
|
|
48
|
+
/**
|
|
49
|
+
* The symbol used to draw points.
|
|
50
|
+
*/
|
|
51
|
+
pointSymbol?: SimpleMarkerSymbol | SimpleMarkerSymbolProperties | PictureMarkerSymbol | PictureMarkerSymbolProperties;
|
|
52
|
+
/**
|
|
53
|
+
* The symbol used to draw 3D points.
|
|
54
|
+
*/
|
|
55
|
+
pointSymbol3D?: PointSymbol3D | PointSymbol3DProperties;
|
|
56
|
+
/**
|
|
57
|
+
* The symbol used to draw lines.
|
|
58
|
+
*/
|
|
59
|
+
lineSymbol?: SimpleLineSymbol | SimpleLineSymbolProperties;
|
|
60
|
+
/**
|
|
61
|
+
* The symbol used to draw 3D lines.
|
|
62
|
+
*/
|
|
63
|
+
lineSymbol3D?: LineSymbol3D | LineSymbol3DProperties;
|
|
64
|
+
/**
|
|
65
|
+
* The symbol used to draw polygons.
|
|
66
|
+
*/
|
|
67
|
+
polygonSymbol?: SimpleFillSymbol | SimpleFillSymbolProperties | PictureFillSymbol | PictureFillSymbolProperties;
|
|
68
|
+
/**
|
|
69
|
+
* The symbol used to draw 3D polygons.
|
|
70
|
+
*/
|
|
71
|
+
polygonSymbol3D?: PolygonSymbol3D | PolygonSymbol3DProperties;
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* The type of tool used for sketching.
|
|
75
|
+
*/
|
|
76
|
+
export declare enum SketchTool {
|
|
77
|
+
POINT = "point",
|
|
78
|
+
MULTIPOINT = "multipoint",
|
|
79
|
+
/**
|
|
80
|
+
* Not supported in Geocortex Mobile Viewer.
|
|
81
|
+
*/
|
|
82
|
+
LINE = "line",
|
|
83
|
+
POLYLINE = "polyline",
|
|
84
|
+
POLYGON = "polygon",
|
|
85
|
+
EXTENT = "extent",
|
|
86
|
+
/**
|
|
87
|
+
* Not supported in Geocortex Mobile Viewer.
|
|
88
|
+
*/
|
|
89
|
+
SQUARE = "square",
|
|
90
|
+
/**
|
|
91
|
+
* Not supported in Geocortex Mobile Viewer.
|
|
92
|
+
*/
|
|
93
|
+
CIRCLE = "circle"
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* Indicates whether a new point should be added before or after the active
|
|
97
|
+
* point in a sketch.
|
|
98
|
+
*/
|
|
99
|
+
export declare type AddNodeOrder = "add-after-active" | "add-before-active";
|
|
100
|
+
/**
|
|
101
|
+
* The arguments for the "sketching.move-node" command.
|
|
102
|
+
*/
|
|
103
|
+
export interface MoveNodeArgs extends HasMaps {
|
|
104
|
+
/**
|
|
105
|
+
* The point to move, which must already exist within the active sketch. If
|
|
106
|
+
* not provided, the active point will be used.
|
|
107
|
+
*/
|
|
108
|
+
node?: Point;
|
|
109
|
+
/**
|
|
110
|
+
* The new position for the point.
|
|
111
|
+
*/
|
|
112
|
+
position: Geometry;
|
|
113
|
+
}
|
|
114
|
+
/**
|
|
115
|
+
* The arguments for the "sketching.switch-active-node" command.
|
|
116
|
+
*/
|
|
117
|
+
export interface SwitchActiveNodeArgs extends HasMaps {
|
|
118
|
+
/**
|
|
119
|
+
* The new point that will become the active point of an active sketch.
|
|
120
|
+
*/
|
|
121
|
+
node: Point;
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* Arguments for the "sketching.capture-geometry" operation.
|
|
125
|
+
*/
|
|
126
|
+
export interface CaptureGeometryArgs {
|
|
127
|
+
/**
|
|
128
|
+
* The maps to activate drawing on. By default it will be all maps.
|
|
129
|
+
*/
|
|
130
|
+
maps?: MapsLike;
|
|
131
|
+
/**
|
|
132
|
+
* The geometry/shape to use for sketching.
|
|
133
|
+
* *
|
|
134
|
+
* Multiple sketch tools are only supported by Geocortex Web. When multiple
|
|
135
|
+
* sketch tools are provided, the sketch will begin with the first one in
|
|
136
|
+
* the list. If "point" is the first of multiple options in the list, click
|
|
137
|
+
* actions will create points while click-and-drag actions will
|
|
138
|
+
* automatically begin the freehand variation of the next included geometry
|
|
139
|
+
* type.
|
|
140
|
+
*/
|
|
141
|
+
geometryType: SketchTool | SketchTool[];
|
|
142
|
+
/**
|
|
143
|
+
* An optional symbol to use. SymbolSets are not supported by Geocortex
|
|
144
|
+
* Mobile.
|
|
145
|
+
*/
|
|
146
|
+
symbol?: SymbolJson | SymbolSet;
|
|
147
|
+
}
|
|
148
|
+
/**
|
|
149
|
+
* Result of the "sketching.capture-geometry" operation.
|
|
150
|
+
*/
|
|
151
|
+
export interface CaptureGeometryResult {
|
|
152
|
+
/**
|
|
153
|
+
* The geometry that was captured.
|
|
154
|
+
*/
|
|
155
|
+
geometry: Geometry;
|
|
156
|
+
/**
|
|
157
|
+
* The map that the user sketched the geometry on. Unavailable in Geocortex
|
|
158
|
+
* Mobile Viewer.
|
|
159
|
+
*/
|
|
160
|
+
maps: MapsLike;
|
|
161
|
+
/**
|
|
162
|
+
* The symbol that was used. Unavailable in Geocortex Web Viewer.
|
|
163
|
+
*/
|
|
164
|
+
symbol?: Symbol;
|
|
165
|
+
}
|
|
166
|
+
/**
|
|
167
|
+
* A generic context for operations that act on geometries.
|
|
168
|
+
*/
|
|
169
|
+
export interface GeometryOperationBase {
|
|
170
|
+
/**
|
|
171
|
+
* The maps to activate editing on. By default it will be all maps.
|
|
172
|
+
*/
|
|
173
|
+
maps?: MapsLike;
|
|
174
|
+
/**
|
|
175
|
+
* The geometries to edit.
|
|
176
|
+
*/
|
|
177
|
+
geometry?: GeometryLike;
|
|
178
|
+
/**
|
|
179
|
+
* The graphics containing geometries to edit. The graphics will pass
|
|
180
|
+
* through and be assigned the altered geometries. Not supported in Mobile.
|
|
181
|
+
*/
|
|
182
|
+
graphics?: GraphicsLike;
|
|
183
|
+
/**
|
|
184
|
+
* The features containing geometries to edit. The features will pass
|
|
185
|
+
* through and be assigned the altered geometries. Not supported in Mobile.
|
|
186
|
+
*/
|
|
187
|
+
features?: FeaturesLike;
|
|
188
|
+
/**
|
|
189
|
+
* Flag all inputs as measured geometries. Geometry operations will show
|
|
190
|
+
* measurements for in progress operations. Not supported in Mobile.
|
|
191
|
+
*/
|
|
192
|
+
isMeasurement?: boolean;
|
|
193
|
+
/**
|
|
194
|
+
* An optional symbol to use while editing.
|
|
195
|
+
*/
|
|
196
|
+
symbol?: SimpleLineSymbol | PictureFillSymbol | PictureMarkerSymbol | SimpleFillSymbol | SimpleMarkerSymbol | TextSymbol | Symbol;
|
|
197
|
+
}
|
|
198
|
+
/**
|
|
199
|
+
* Arguments for the "sketching.edit-geometry" operation.
|
|
200
|
+
*/
|
|
201
|
+
export interface EditGeometryArgs extends GeometryOperationBase {
|
|
202
|
+
/**
|
|
203
|
+
* The options for this edit operation. Not supported in Mobile.
|
|
204
|
+
*/
|
|
205
|
+
options?: EditGeometryOptions;
|
|
206
|
+
}
|
|
207
|
+
/**
|
|
208
|
+
* Options for the "sketching.edit-geometry operation.
|
|
209
|
+
*/
|
|
210
|
+
export interface EditGeometryOptions {
|
|
211
|
+
/**
|
|
212
|
+
* Whether to allow deletion of the edited geometry. Defaults to false.
|
|
213
|
+
*/
|
|
214
|
+
enableDelete?: boolean;
|
|
215
|
+
/**
|
|
216
|
+
* Whether to allow rotation of the edited geometry. Defaults to true.
|
|
217
|
+
*/
|
|
218
|
+
enableRotation?: boolean;
|
|
219
|
+
/**
|
|
220
|
+
* Whether to allow scaling of the edited geometry. Defaults to true.
|
|
221
|
+
*/
|
|
222
|
+
enableScaling?: boolean;
|
|
223
|
+
/**
|
|
224
|
+
* Whether to allow the user to toggle to the non-default scale mode.
|
|
225
|
+
* Defaults to true.
|
|
226
|
+
*/
|
|
227
|
+
enableScaleModeToggle?: boolean;
|
|
228
|
+
/**
|
|
229
|
+
* Setting "free" allows independent scaling on the x and y axis,
|
|
230
|
+
* "preserve-aspect-ratio" constrains scaling to the original aspect ratio.
|
|
231
|
+
* Defaults to "preserve-aspect-ratio".
|
|
232
|
+
*/
|
|
233
|
+
scaleMode?: "free" | "preserve-aspect-ratio";
|
|
234
|
+
/**
|
|
235
|
+
* Where to anchor the geometry when performing a free scale operation.
|
|
236
|
+
* Defaults to "center".
|
|
237
|
+
*/
|
|
238
|
+
anchor?: "center" | "opposite";
|
|
239
|
+
}
|
|
240
|
+
/**
|
|
241
|
+
* Result of the "sketching.edit-geometry" operation.
|
|
242
|
+
*/
|
|
243
|
+
export interface EditGeometryResult extends GeometryOperationBase {
|
|
244
|
+
}
|
|
245
|
+
/**
|
|
246
|
+
* Arguments for the "sketching.move-geometry" operation.
|
|
247
|
+
*/
|
|
248
|
+
export interface MoveGeometryArgs extends GeometryOperationBase {
|
|
249
|
+
/**
|
|
250
|
+
* An amount to move the geometry on the X and Y axes.
|
|
251
|
+
*/
|
|
252
|
+
distance: Vector2D;
|
|
253
|
+
/**
|
|
254
|
+
* The units of the above distance. Optional, will default to the units used
|
|
255
|
+
* by the measurement service associated with the map.
|
|
256
|
+
*/
|
|
257
|
+
units?: LengthUnits;
|
|
258
|
+
}
|
|
259
|
+
/**
|
|
260
|
+
* Arguments for the "sketching.scale-geometry" operation.
|
|
261
|
+
*/
|
|
262
|
+
export interface ScaleGeometryArgs extends GeometryOperationBase {
|
|
263
|
+
/**
|
|
264
|
+
* The amount to scale the geometry, specified either uniformly or
|
|
265
|
+
* independently on the x and y axis. Point geometries will not be modified
|
|
266
|
+
* by this operation.
|
|
267
|
+
*/
|
|
268
|
+
scale: Vector2D | number;
|
|
269
|
+
}
|
|
270
|
+
/**
|
|
271
|
+
* Arguments for the "sketching.rotate-geometry" operation.
|
|
272
|
+
*/
|
|
273
|
+
export interface RotateGeometryArgs extends GeometryOperationBase {
|
|
274
|
+
/**
|
|
275
|
+
* The number of degrees to rotate the geometry.
|
|
276
|
+
*/
|
|
277
|
+
degrees: number;
|
|
278
|
+
/**
|
|
279
|
+
* The origin around which to rotate the geometry. Defaults to the centroid.
|
|
280
|
+
*/
|
|
281
|
+
origin?: Point;
|
|
282
|
+
}
|
|
283
|
+
/**
|
|
284
|
+
* Arguments for the "sketching.stop" operation.
|
|
285
|
+
*/
|
|
286
|
+
export interface StopGeometryEditArgs {
|
|
287
|
+
/**
|
|
288
|
+
* The maps on which to stop editing geometry.
|
|
289
|
+
*/
|
|
290
|
+
maps: MapsLike;
|
|
291
|
+
/**
|
|
292
|
+
* Whether to validate the geometry before returning it. Defaults to true
|
|
293
|
+
* if not set.
|
|
294
|
+
*/
|
|
295
|
+
validateGeometry?: boolean;
|
|
296
|
+
}
|
|
297
|
+
/**
|
|
298
|
+
* Arguments for the "sketching.add-node-to-geometry" operation.
|
|
299
|
+
*/
|
|
300
|
+
export interface AddNodeToGeometryArgs extends HasMaps {
|
|
301
|
+
/**
|
|
302
|
+
* The initial geometry to add the point to. Can be null.
|
|
303
|
+
*/
|
|
304
|
+
geometry: Geometry;
|
|
305
|
+
/**
|
|
306
|
+
* The type of geometry to create if the initial geometry is null. In
|
|
307
|
+
* Geocorex Mobile, this value must be 'polygon' or 'polyline'. In Geocortex
|
|
308
|
+
* Web, this value may also be null if the point being added is intended to
|
|
309
|
+
* be added to the active sketch.
|
|
310
|
+
*/
|
|
311
|
+
geometryType: string;
|
|
312
|
+
/**
|
|
313
|
+
* A point geometry to add to the initial geometry. In geocortex Web, this
|
|
314
|
+
* value may be null if the intention is to add a point at the position of
|
|
315
|
+
* the active point of an active sketch.
|
|
316
|
+
*/
|
|
317
|
+
node: Geometry;
|
|
318
|
+
/**
|
|
319
|
+
* Indicates whether the new point should be added before or after the active
|
|
320
|
+
* point in the sketch. Not supported by Geocortex Mobile.
|
|
321
|
+
*/
|
|
322
|
+
nodeOrder?: AddNodeOrder;
|
|
323
|
+
}
|
|
324
|
+
/**
|
|
325
|
+
* Arguments for the "sketching.delete" command.
|
|
326
|
+
*/
|
|
327
|
+
export interface DeleteGeometryArgs extends HasMaps {
|
|
328
|
+
/**
|
|
329
|
+
* The point to delete from the active sketch. Not supported in Geocortex
|
|
330
|
+
* Mobile.
|
|
331
|
+
*/
|
|
332
|
+
geometry?: Point;
|
|
333
|
+
}
|
|
334
|
+
/**
|
|
335
|
+
* Arguments for the "sketching.set-geometry-mode" command.
|
|
336
|
+
*/
|
|
337
|
+
export interface SetGeometryModeArgs extends HasMaps {
|
|
338
|
+
/**
|
|
339
|
+
* The geometry mode to switch to. Geocortex Mobile only supports "line" and
|
|
340
|
+
* "area".
|
|
341
|
+
*/
|
|
342
|
+
editorGeometryMode: EditorGeometryMode | SketchTool;
|
|
343
|
+
}
|
|
344
|
+
/**
|
|
345
|
+
* Arguments for the "sketching.set-interaction-mode" command.
|
|
346
|
+
*/
|
|
347
|
+
export interface SetInteractionModeArgs extends HasMaps {
|
|
348
|
+
/**
|
|
349
|
+
* The interaction mode to switch to.
|
|
350
|
+
*/
|
|
351
|
+
editorInteractionMode: EditorInteractionMode;
|
|
352
|
+
}
|
|
353
|
+
/**
|
|
354
|
+
* The editor geometry mode.
|
|
355
|
+
*/
|
|
356
|
+
export declare type EditorGeometryMode = "line" | "area";
|
|
357
|
+
/**
|
|
358
|
+
* The editor interaction mode.
|
|
359
|
+
*/
|
|
360
|
+
export declare type EditorInteractionMode = "centerCrosshair" | "freehand";
|
|
361
|
+
/**
|
|
362
|
+
* Settings for the geometry editor.
|
|
363
|
+
*/
|
|
364
|
+
export interface GeometryEditorSettings {
|
|
365
|
+
/**
|
|
366
|
+
* A value indicating whether snapping should be enabled.
|
|
367
|
+
*/
|
|
368
|
+
snappingEnabled?: boolean;
|
|
369
|
+
/**
|
|
370
|
+
* A value indicating whether bearing labels should be
|
|
371
|
+
* shown on the map.
|
|
372
|
+
*/
|
|
373
|
+
showBearings?: boolean;
|
|
374
|
+
/**
|
|
375
|
+
* The editor geometry mode.
|
|
376
|
+
*/
|
|
377
|
+
editorGeometryMode?: EditorGeometryMode;
|
|
378
|
+
/**
|
|
379
|
+
* The editor interaction mode.
|
|
380
|
+
*/
|
|
381
|
+
editorInteractionMode?: EditorInteractionMode;
|
|
382
|
+
}
|
|
383
|
+
/**
|
|
384
|
+
* Result returned from the 'sketching.get-active-sketch' and
|
|
385
|
+
* 'sketching.get-active-node' operations.
|
|
386
|
+
*/
|
|
387
|
+
export interface GetActiveSketchResult {
|
|
388
|
+
/**
|
|
389
|
+
* The active graphic(s).
|
|
390
|
+
*/
|
|
391
|
+
graphics: Graphic[] | undefined;
|
|
392
|
+
/**
|
|
393
|
+
* The map associated with the graphics.
|
|
394
|
+
*/
|
|
395
|
+
maps: MapExtension;
|
|
396
|
+
}
|
|
397
|
+
export declare class SketchingOperations extends OperationRegistry {
|
|
398
|
+
/**
|
|
399
|
+
* Allows the user to create geometry by sketching on a map. Returns the
|
|
400
|
+
* geometry that was drawn, along with the map that it was drawn on.
|
|
401
|
+
*/
|
|
402
|
+
get captureGeometry(): Operation<CaptureGeometryArgs, CaptureGeometryResult>;
|
|
403
|
+
/**
|
|
404
|
+
* Allows the user to edit an existing geometry by drawing on a map. Returns
|
|
405
|
+
* the geometry that was edited, or the supplied feature with the altered
|
|
406
|
+
* geometry applied, along with the map that it was drawn on.
|
|
407
|
+
*/
|
|
408
|
+
get editGeometry(): Operation<EditGeometryArgs, EditGeometryResult>;
|
|
409
|
+
/**
|
|
410
|
+
* Allows the user to move an existing geometry by a specified amount.
|
|
411
|
+
* Returns the altered geometry or the supplied feature with altered
|
|
412
|
+
* geometry applied. Will also pass through any map or symbol associated
|
|
413
|
+
* with the command chain, but only the map is required for this operation.
|
|
414
|
+
*
|
|
415
|
+
* @webOnly
|
|
416
|
+
*
|
|
417
|
+
*/
|
|
418
|
+
get moveGeometry(): Operation<MoveGeometryArgs, GeometryOperationBase>;
|
|
419
|
+
/**
|
|
420
|
+
* Allows the user to scale and mirror an existing geometry on either axis.
|
|
421
|
+
* Returns the altered geometry or the supplied feature with altered
|
|
422
|
+
* geometry applied. Will also pass through any map or symbol associated
|
|
423
|
+
* with the command chain, but they are not required for this operation.
|
|
424
|
+
*
|
|
425
|
+
* @webOnly
|
|
426
|
+
*
|
|
427
|
+
*/
|
|
428
|
+
get scaleGeometry(): Operation<ScaleGeometryArgs, GeometryOperationBase>;
|
|
429
|
+
/**
|
|
430
|
+
* Allows the user to rotate an existing geometry. Returns the altered
|
|
431
|
+
* geometry or the supplied feature with altered geometry applied. Will also
|
|
432
|
+
* pass through any map or symbol associated with the command chain, but
|
|
433
|
+
* they are not required for this operation.
|
|
434
|
+
*
|
|
435
|
+
* @webOnly
|
|
436
|
+
*
|
|
437
|
+
*/
|
|
438
|
+
get rotateGeometry(): Operation<RotateGeometryArgs, GeometryOperationBase>;
|
|
439
|
+
/**
|
|
440
|
+
* Stops geometry capturing or editing on a given map. Returns the current
|
|
441
|
+
* geometry. If validateGeometry parameter is true and geometry is invalid,
|
|
442
|
+
* returns null.
|
|
443
|
+
*/
|
|
444
|
+
get stop(): Operation<StopGeometryEditArgs, CaptureGeometryResult>;
|
|
445
|
+
/**
|
|
446
|
+
* Adds a point to a given polyline or polygon geometry. Returns the
|
|
447
|
+
* resulting geometry.
|
|
448
|
+
*/
|
|
449
|
+
get addNodeToGeometry(): Operation<AddNodeToGeometryArgs, Geometry>;
|
|
450
|
+
/**
|
|
451
|
+
* Returns the active sketch graphic from a map.
|
|
452
|
+
*
|
|
453
|
+
* @webOnly
|
|
454
|
+
*/
|
|
455
|
+
get getActiveSketch(): Operation<void, GetActiveSketchResult>;
|
|
456
|
+
/**
|
|
457
|
+
* Returns the active point graphic of the active sketch on a map.
|
|
458
|
+
*
|
|
459
|
+
* @webOnly
|
|
460
|
+
*/
|
|
461
|
+
get getActiveNode(): Operation<ItemRef, GetActiveSketchResult>;
|
|
462
|
+
}
|
|
463
|
+
export declare class SketchingCommands extends CommandRegistry {
|
|
464
|
+
/**
|
|
465
|
+
* Undoes the last edit while editing a geometry.
|
|
466
|
+
*/
|
|
467
|
+
get undo(): Command<HasMaps>;
|
|
468
|
+
/**
|
|
469
|
+
* Redoes the last undone edit while editing a geometry.
|
|
470
|
+
*/
|
|
471
|
+
get redo(): Command<HasMaps>;
|
|
472
|
+
/**
|
|
473
|
+
* Sets the geometry mode of the geometry editor.
|
|
474
|
+
*/
|
|
475
|
+
get setGeometryMode(): Command<SetGeometryModeArgs>;
|
|
476
|
+
/**
|
|
477
|
+
* Adds a point at the center of the map while editing a geometry. Works in
|
|
478
|
+
* centerCrosshair mode only.
|
|
479
|
+
*
|
|
480
|
+
* @mobileOnly
|
|
481
|
+
*/
|
|
482
|
+
get addPointAtCenter(): Command<HasMaps>;
|
|
483
|
+
/**
|
|
484
|
+
* Adds a point at the user's current location while editing a geometry.
|
|
485
|
+
*
|
|
486
|
+
* @mobileOnly
|
|
487
|
+
*/
|
|
488
|
+
get addPointAtCurrentLocation(): Command<HasMaps>;
|
|
489
|
+
/**
|
|
490
|
+
* Sets a point at the user's current location while editing a geometry. In this context, "set" means
|
|
491
|
+
* to either add a point at the current location, or update the currently selected point to be the user's
|
|
492
|
+
* current location, depending on what edit mode the user is in.
|
|
493
|
+
*
|
|
494
|
+
* @mobileOnly
|
|
495
|
+
*/
|
|
496
|
+
get setPointAtCurrentLocation(): Command<HasMaps>;
|
|
497
|
+
/**
|
|
498
|
+
* Deletes a point or the entire geometry, depending on which is selected
|
|
499
|
+
* while editing a geometry. If a point is specified in the arguments, it
|
|
500
|
+
* will be deleted (Web only).
|
|
501
|
+
*/
|
|
502
|
+
get delete(): Command<DeleteGeometryArgs>;
|
|
503
|
+
/**
|
|
504
|
+
* Moves a point within an active sketch to a new location.
|
|
505
|
+
*
|
|
506
|
+
* @webOnly
|
|
507
|
+
*/
|
|
508
|
+
get moveNode(): Command<MoveNodeArgs>;
|
|
509
|
+
/**
|
|
510
|
+
* Switches the active point of an active sketch.
|
|
511
|
+
*
|
|
512
|
+
* @webOnly
|
|
513
|
+
*/
|
|
514
|
+
get switchActiveNode(): Command<SwitchActiveNodeArgs>;
|
|
515
|
+
/**
|
|
516
|
+
* Sets the interaction mode of the geometry editor.
|
|
517
|
+
*
|
|
518
|
+
* @mobileOnly
|
|
519
|
+
*/
|
|
520
|
+
get setInteractionMode(): Command<SetInteractionModeArgs>;
|
|
521
|
+
}
|