Class: Measurements

Mapspace.oblique.action. Measurements

An action for any control that activates interactions in a Mapspace.oblique.Viewer to make measurements.


new Measurements( [options])

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

Options.

Source:
mapspace-oblique/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(measurementType)

Changes the current measurement tool in the viewer.

Parameters:
Name Type Argument Description
measurementType Mapspace.oblique.MeasurementType <nullable>

The type of measurement or null to deactivate all measurements.

Source:
mapspace-oblique/actions/measurements.js