Namespace: action

Mapspace.oblique. action

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

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

Classes

AddressInfo
Annotations
DateSelector
FeatureInfo
FeaturePanel
FindObliques
History
ImageDownload
LayerSwitcher
Measurements
ObliqueLabel
OpenStreetImage
ScaleLine
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-oblique/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-oblique/typedefs.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.oblique.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-oblique/typedefs.js

MousePositionOptions

Options for Mapspace.oblique.action.MousePosition

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.

coordinateFormat ol.CoordinateFormatType | undefined

This a function that receives a coordinate and returns a string.

projection ol.proj.Projection | undefined

A projection object to which transform coordinates. If no projection is given then current map projection is used.

undefinedHTML string | undefined

HTML to show when no data is available. Defaults to an empty string.

showProjectionName boolean | undefined

If true the EPSG code is attached after the coordinates. Defaults to true.

Source:
mapspace-oblique/typedefs.js

MousePositionProperty

Properties of a Mapspace.oblique.action.MousePosition.

Name Value
Mapspace.oblique.action.MousePositionProperty.PROJECTION projection
Mapspace.oblique.action.MousePositionProperty.COORDINATE_FORMAT coordinateFormat
Source:
mapspace-oblique/enums.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-oblique/typedefs.js

ViewerInfoProperty

Properties of a Mapspace.oblique.action.ViewerInfo.

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