Namespace: action

Mapspace.ortho. action

This is the namespace that contains Mapspace.action.Action specific for the Mapspace.ortho.Viewer.

Source:
mapspace-ortho/actions/bu.ortho.action.jsdoc

Classes

Annotations
BaselayerTypeSwitcher
DateSelector
FeatureInfo
FeaturePanel
LayerSwitcher
Measurements
OpenStreetImage
Profile3d
Profile3dPanel
ScaleLine
UserPlace
ViewerInfo
ViewerSettings

Type Definitions


AnnotationsOptions

Properties:
Name Type Description
control Mapspace.control.Control | undefined

The control this action is attached to.

viewer Mapspace.Viewer | undefined

The viewer this action is tied to.

interactionStyle Object.<string, ol.style.Style> | undefined

an object with Mapspace.AnnotationType as keys and ol.style.Style as values. This is the styles that will be used for each type of measurement when interacting in the viewer.

Source:
mapspace-ortho/typedefs.js

FeatureInfoOptions

Properties:
Name Type Description
control Mapspace.control.Control | undefined

The control this action is attached to.

viewer Mapspace.Viewer | undefined

The viewer this action is tied to.

layerFilterFunction function | undefined

Any function receiving two params, a resolution number and a ol.Layer.Layer object, and returning true or false, and that will be used to filter if feature information must be shown for a given layer.

Source:
mapspace-ortho/typedefs.js

MapRotationProperty

Properties of a Mapspace.ortho.action.MousePosition.

Name Value
Mapspace.ortho.action.MapRotationProperty.ROTATION rotation
Source:
mapspace-ortho/enums.js

MeasurementsOptions

Properties:
Name Type Description
control Mapspace.control.Control | undefined

The control this action is attached to.

viewer Mapspace.Viewer | undefined

The viewer this action is tied to.

interactionStyle Object.<string, ol.style.Style> | undefined

an object with Mapspace.ortho.MeasurementType as keys and ol.style.Style as values. This is the styles that will be used for each type of measurement when interacting in the viewer.

Source:
mapspace-ortho/typedefs.js

SearchOptions

Options for Mapspace.ortho.action.Search.

Properties:
Name Type Description
control Mapspace.control.Control | undefined

The control this action is attached to.

viewer Mapspace.Viewer | undefined

The viewer this action is tied to.

duration number | undefined

Duration of the animation in milliseconds.

Source:
mapspace-ortho/typedefs.js

UserPlaceOptions

Properties:
Name Type Description
control Mapspace.control.Control | undefined

The control this action is attached to.

viewer Mapspace.Viewer | undefined

The viewer this action is tied to.

baseResolution number | undefined

The base resolution at which the user place icon toggles visibility.

userLocation Mapspace.Coordinate | undefined

The coordinate of the default user location, in current internal ol.Map projection, which usually is 'EPSG:3857'.

Source:
mapspace-ortho/typedefs.js

ViewerInfoProperty

Properties of a Mapspace.ortho.action.ViewerInfo.

Name Value
Mapspace.ortho.action.ViewerInfoProperty.PROJECTION projection
Source:
mapspace-ortho/enums.js