This is the namespace that contains access to Mapspace.ControlDefinition
generators
for the Mapspace.threed.Viewer
.
- Source:
- mapspace-threed/control/bu.threed.controldef.jsdoc
Methods
-
<static> DefaultControls()
-
Return an array of default
Mapspace.ControlDefinition
for aMapspace.three.Viewer
.- Source:
- mapspace-threed/control/controldefs.js
Returns:
- Type
- Array.<Mapspace.ControlDefinition>
-
<static> DefaultFeaturePanelActions(control, workspace, viewer, localStorageKey)
-
Returns the default
Mapspace.action.Action
to handle feature editions for a givenMapspace.control.FeaturePanel
control. The target of these controls usually is outside the viewer and usually there is only one instance of the control in a web app.Parameters:
Name Type Description control
Mapspace.control.FeaturePanel The feature edition control.
workspace
Mapspace.Workspace The workspace.
viewer
Mapspace.threed.Viewer The viewer.
localStorageKey
string The local storage key to use in the action.
- Source:
- mapspace-threed/control/controldefs.js
Returns:
- Type
- Array.<Mapspace.action.Action>
-
<static> DefaultLayerPanelActions(control, workspace, viewer)
-
Returns the default
Mapspace.action.Action
to handle a givenMapspace.control.LayerPanel
control. The target of these controls usually is outside the viewer and usually there is only one instance of the control in a web app.Parameters:
Name Type Description control
Mapspace.control.LayerPanel The layer panel control.
workspace
Mapspace.Workspace The workspace.
viewer
Mapspace.threed.Viewer The viewer.
- Source:
- mapspace-threed/control/controldefs.js
Returns:
- Type
- Array.<Mapspace.action.Action>
-
<static> DefaultProfile3dPanelActions(control, workspace, viewer, localStorageKey)
-
Returns the default
Mapspace.action.Action
to handle profile3d definition for a givenMapspace.control.Profile3dPanel
control. The target of these controls usually is outside the viewer and usually there is only one instance of the control in a web app.Parameters:
Name Type Description control
Mapspace.control.Profile3dPanel The profile3d panel control.
workspace
Mapspace.Workspace The workspace.
viewer
Mapspace.threed.Viewer The viewer.
localStorageKey
string The local storage key to use in the action.
- Source:
- mapspace-threed/control/controldefs.js
Returns:
- Type
- Array.<Mapspace.action.Action>
-
<static> DefaultReportPanelActions(control, workspace, viewer, localStorageKey)
-
Returns the default
Mapspace.action.Action
to handle reporting for a givenMapspace.control.ReportPanel
control. The target of these controls usually is outside the viewer and usually there is only one instance of the control in a web app.Parameters:
Name Type Description control
Mapspace.control.ReportPanel The REport panel control.
workspace
Mapspace.Workspace The workspace.
viewer
Mapspace.threed.Viewer The viewer.
localStorageKey
string The local storage key to use in the action.
- Source:
- mapspace-threed/control/controldefs.js
Returns:
- Type
- Array.<Mapspace.action.Action>
-
<static> DefaultSearchAction(control, viewer)
-
Returns the default
Mapspace.action.Action
to handle searches for a givenMapspace.control.Search
control. The target of these controls usually is outside the viewer and usually there is only one instance of the control in a web app.Parameters:
Name Type Description control
Mapspace.control.Control The search control.
viewer
Mapspace.threed.Viewer The viewer.
- Source:
- mapspace-threed/control/controldefs.js
Returns:
-
<static> DefaultStreetPanelActions(control, workspace, viewer, localStorageKey)
-
Returns the default
Mapspace.action.Action
to handle Street geometry redefinition for a givenMapspace.control.StreetPanel
control. The target of these controls usually is outside the viewer and usually there is only one instance of the control in a web app.Parameters:
Name Type Description control
Mapspace.control.StreetPanel The Street panel control.
workspace
Mapspace.Workspace The workspace.
viewer
Mapspace.threed.Viewer The viewer.
localStorageKey
string The local storage key to use in the action.
- Source:
- mapspace-threed/control/controldefs.js
Returns:
- Type
- Array.<Mapspace.action.Action>
-
<static> GoHome( [controlOptions] [, actionOptions])
-
Returns a default
Mapspace.ControlDefinition
for aMapspace.control.Button
that allow flyto home position in 3D viewer.Parameters:
Name Type Argument Description controlOptions
Mapspace.control.ButtonOptions <optional>
Options for the control.
actionOptions
Mapspace.action.ActionOptions <optional>
Options for the action.
- Source:
- mapspace-threed/control/controldefs.js
Returns:
-
<static> LayerSwitcher( [controlOptions] [, actionOptions])
-
Returns a default
Mapspace.ControlDefinition
for aMapspace.control.LayerSwitcher
.Parameters:
Name Type Argument Description controlOptions
Mapspace.control.ControlOptions <optional>
Options for the control.
actionOptions
Mapspace.action.ActionOptions <optional>
Options for the action.
- Source:
- mapspace-threed/control/controldefs.js
Returns:
-
<static> Orbit( [controlOptions] [, actionOptions])
-
Returns a default
Mapspace.ControlDefinition
for aMapspace.control.Button
that allow orbit around a point in 3D viewer.Parameters:
Name Type Argument Description controlOptions
Mapspace.control.ButtonOptions <optional>
Options for the control.
actionOptions
Mapspace.action.WorkspaceActionOptions <optional>
Options for the action.
- Source:
- mapspace-threed/control/controldefs.js
Returns:
-
<static> ViewerInfo( [controlOptions] [, actionOptions])
-
Returns a default
Mapspace.ControlDefinition
for aMapspace.control.Label
that shows information of the viewer.Parameters:
Name Type Argument Description controlOptions
Mapspace.control.LabelOptions <optional>
Options for the control.
actionOptions
Mapspace.threed.action.ViewerInfoOptions <optional>
Options for the action.
- Source:
- mapspace-threed/control/controldefs.js
Returns:
-
<static> ViewerMenu( [controlOptions], actionOptions)
-
Returns an array of default
Mapspace.ControlDefinition
for aMapspace.control.ViewerMenu
and its subcontrols.Parameters:
Name Type Argument Description controlOptions
Mapspace.control.ControlOptions <optional>
Options for the control. This options are only for the ViewerMenu, and not for the subcontrols.
actionOptions
Mapspace.action.WorkspaceActionOptions Options for the action. This options are only for the action of the ViewerMenu, and not for the actions of the subcontrols.
- Source:
- mapspace-threed/control/controldefs.js
Returns:
- Type
- Array.<Mapspace.ControlDefinition>