Class: Annotations

Annotations

An action for a Mapspace.control.ViewerTools or a Mapspace.control.ShortcutBar or a Mapspace.control.FeaturePanel that activates interactions in a Mapspace.profile3d.Viewer to make annotations.


new Annotations( [options])

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

Options.

Source:
mapspace-profile3d/action/annotations.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


changeAnnotation(annotationType)

Changes the current annotation tool in the viewer.

Parameters:
Name Type Argument Description
annotationType Mapspace.profile3d.AnnotationType <nullable>

The type of annotation or null or undefined to deactivate all annotations.

Source:
mapspace-profile3d/action/annotations.js