new Measurements( [options])
Parameters:
Name | Type | Argument | Description |
---|---|---|---|
options |
Mapspace.action.WorkspaceActionOptions |
<optional> |
Options. |
- Source:
- mapspace-global/actions/measurements.js
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
-
changeMeasurement(mType, viewType)
-
Changes the current measurement tool in the viewer.
Parameters:
Name Type Argument Description mType
Mapspace.oblique.MeasurementType <nullable>
The type of measurement or null to deactivate all measurements.
viewType
Mapspace.ViewType The view type.
- Source:
- mapspace-global/actions/measurements.js