Namespace: action

bu.oblique. action

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

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

Classes

FeatureInfo
Goto
LayerSwitcher
Measurements
MeasurementsClear
MeasurementsLabels
North
ObliqueLabel
OpenStreetImage
ScaleLine
ScreenShot
Search
Spinner
ViewerInfo
Zoom
ZoomSlider

Type Definitions


FeatureInfoOptions

Type:
  • Object
Properties:
Name Type Description
control bu.control.Control | undefined

The control this action is attached to.

viewer bu.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:
bu-oblique/typedefs.js

MousePositionOptions

Options for bu.oblique.action.MousePosition

Type:
  • Object
Properties:
Name Type Description
control bu.control.Control | undefined

The control this action is attached to.

viewer bu.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:
bu-oblique/typedefs.js

MousePositionProperty

Properties of a bu.oblique.action.MousePosition.

PROJECTION: 'projection'
COORDINATE_FORMAT: 'coordinateFormat'
Type:
  • string
Source:
bu-oblique/enums.js

NorthOptions

Type:
  • Object
Properties:
Name Type Description
control bu.control.Control | undefined

The control this action is attached to.

viewer bu.Viewer | undefined

The viewer this action is tied to.

duration number | undefined

Duration of the rotation animation in milliseconds.

Source:
bu-oblique/typedefs.js

SearchOptions

Options for bu.ortho.action.Search.

Type:
  • Object
Properties:
Name Type Description
control bu.control.Control | undefined

The control this action is attached to.

viewer bu.Viewer | undefined

The viewer this action is tied to.

duration number | undefined

Duration of the animation in milliseconds.

Source:
bu-oblique/typedefs.js

SpinnerOptions

Type:
  • Object
Properties:
Name Type Description
control bu.control.Control | undefined

The control this action is attached to.

viewer bu.Viewer | undefined

The viewer this action is tied to.

duration number | undefined

Duration of the rotation animation in milliseconds.

Source:
bu-oblique/typedefs.js

ViewerInfoOptions

Type:
  • Object
Properties:
Name Type Description
control bu.control.Control | undefined

The control this action is attached to.

viewer bu.Viewer | undefined

The viewer this action is tied to.

infoSetup Array.<bu.ViewerInfoOption> | undefined

the definition of the different informations.

projection ol.proj.Projection | undefined

For coordinates, a projection object to which transform coordinates. If no projection is given then current map projection is used.

undefinedHTML string | undefined

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

Source:
bu-oblique/typedefs.js

ViewerInfoProperty

Properties of a bu.oblique.action.ViewerInfo.

PROJECTION: 'projection'
Type:
  • string
Source:
bu-oblique/enums.js

ZoomOptions

Type:
  • Object
Properties:
Name Type Description
control bu.control.Control | undefined

The control this action is attached to.

viewer bu.Viewer | undefined

The viewer this action is tied to.

duration number | undefined

Duration of the zoom animation in milliseconds.

Source:
bu-oblique/typedefs.js