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 andtype: '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