Namespace: action

Mapspace.street. action

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

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

Classes

AddressInfo
Annotations
DateSelector
DepthMap
FeatureInfo
FeaturePanel
FeatureSelection
History
LayerSwitcher
Measurements
OpenStreetImage
StreetPanel
ViewerInfo
ViewerSettings

Type Definitions


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 ol.style.Style | undefined

style for the measurements while interaction occurs.

Source:
mapspace-street/typedefs.js

MousePositionOptions

Options for Mapspace.street.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 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:
mapspace-street/typedefs.js

MousePositionProperty

Properties of a Mapspace.street.action.MousePosition.

Name Value
Mapspace.street.action.MousePositionProperty.PROJECTION projection
Mapspace.street.action.MousePositionProperty.COORDINATE_FORMAT coordinateFormat
Source:
mapspace-street/enums.js

ViewerInfoOptions

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.

infoSetup Array.<Mapspace.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.

highlightImagePoint boolean | undefined

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

Source:
mapspace-street/typedefs.js

ViewerInfoProperty

Properties of a Mapspace.street.action.ViewerInfo.

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