The {@link geocortex.essentialsHtmlViewer.ViewerApplication} that this tool belongs to.
An object to provide additional configuration of this tool.
The activate state of the Esri drawing surface. The Esri drawing surface does not provide an indication of whether it is active or not. We'll keep track of this state ourselves so that we don't call deactivate unnecessarily.
The Esri drawing surface.
The {@link geocortex.essentialsHtmlViewer.ViewerApplication} that this tool instance belongs to.
Optional title for the close tool UI element. Defaults to "Deactivate Tool".
The command name associated with this tool.
The draw mode of this tool.
Whether the tool is enabled (can be used). The tool will be assumed to not support disabling if left undefined.
Optional URI of the icon to display with the status.
Whether this tool is active.
Whether this tool is sticky.
Optional, alternate status text to display for keyboard users. Can be i18ned.
Library to look up i18n string keys from. Required to display i18n strings.
The name of this tool.
Optional CSS class for the status displayed for this tool.
Status text to display while the tool is active. Can be i18ned.
Called when the tool is activated.
Called when the tool is deactivated.
Called when drawing completes. Now handling 'onDrawComplete' instead of deprecated 'onDrawEnd', though still checking for both payloads
Called when the input method (e.g. keyboard, mouse) for the drawing component has changed.
Sets the active state of the tool.
The desired active state of the tool.
Initializes a new instance of the {@link geocortex.essentialsHtmlViewer.mapping.infrastructure.tools.MapTool} class.
MapTool provides a general purpose, loosely coupled model for creating components that require map interaction.
geocortex.essentialsHtmlViewer.mapping.infrastructure.tools