Class: OrthoDownload

Mapspace.action. OrthoDownload

An action for a Mapspace.control.ShortcutBar or a Mapspace.control.LayerPanel that activates an interaction in a Mapspace.ortho.viewer to allow user draw a bounding box to generate a download ortho image task.


new OrthoDownload( [options])

Parameters:
Name Type Argument Description
options Mapspace.action.WorkspaceActionOptions <optional>

Options.

Source:
mapspace/actions/orthodownload.js
Fires:
  • ol.Object.Event#event:change:projection

Extends

Members


<nullable> localStorageKey :string

This is a key that can be used to store content locally in the action.

Inherited From:
Source:
mapspace/actions/workspaceaction.js

<nullable> workspace :Mapspace.Workspace

This is the workspace this action will be tied to.

Inherited From:
Source:
mapspace/actions/workspaceaction.js

Methods


createBoxGeometryFunction()

Create a geometryFunction that will create a box-shaped polygon (aligned with the coordinate system axes). Use this with the draw interaction and type: 'Circle' to return a box instead of a circle geometry.

Source:
mapspace/actions/orthodownload.js
Returns:

Function that draws a box-shaped polygon.

Type
ol.DrawGeometryFunctionType

getProjection()

Return the projection that is used to report the mouse position.

Source:
mapspace/actions/orthodownload.js
Returns:

The projection to report mouse position in.

Type
ol.proj.Projection | undefined

handleOutputProjectionChanged()

Set output projection system for viewer info (and another tools).

Source:
mapspace/actions/orthodownload.js

setProjection(projection)

Set the projection that is used to report the mouse position.

Parameters:
Name Type Description
projection ol.proj.Projection

The projection to report mouse position in.

Source:
mapspace/actions/orthodownload.js