Namespace: action

bu.street. action

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

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

Classes

Brightness
Contrast
FeatureInfo
FileSelectVector
Goto
LayerSwitcher
Measurements
MeasurementsClear
MeasurementsLabels
North
OpenStreetImage
ScreenShot
Search
Spinner
ViewerInfo
Zoom
ZoomSlider

Type Definitions


MousePositionOptions

Options for bu.street.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 panorama local projection is given.

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-street/typedefs.js

MousePositionProperty

Properties of a bu.street.action.MousePosition.

PROJECTION: 'projection'
COORDINATE_FORMAT: 'coordinateFormat'
Type:
  • string
Source:
bu-street/enums.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-street/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.

highlightHotspot boolean | undefined

If the hotspots should be highlighted with a different color when the mouse is moved over one. Defaults true.

Source:
bu-street/typedefs.js

ViewerInfoProperty

Properties of a bu.street.action.ViewerInfo.

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