new ViewerInfo( [options])
Parameters:
Name | Type | Argument | Description |
---|---|---|---|
options |
bu.ortho.action.ViewerInfoOptions |
<optional> |
Options. |
- Source:
- bu-ortho/actions/viewerinfo.js
Fires:
- ol.Object.Event#event:change:projection
Extends
Members
-
control :bu.control.Control
-
The control this action is attached to.
Type:
- Inherited From:
- Source:
- bu/actions/action.js
-
viewer :bu.Viewer
-
This is the viewer this action will be tied to.
Type:
- Inherited From:
- Source:
- bu/actions/action.js
Methods
-
getProjection()
-
Return the projection that is used to report the mouse position.
- Source:
- bu-ortho/actions/viewerinfo.js
Returns:
The projection to report mouse position in.
- Type
- ol.proj.Projection | undefined
-
setProjection(projection)
-
Set the projection that is used to report the mouse position.
Parameters:
Name Type Description projection
ol.proj.Projection The projection to report mouse position in.
- Source:
- bu-ortho/actions/viewerinfo.js