new Button3dView()
modules/controls/button3d/view.js, line 40
This control gives a user the 3D interface in the map.
Fires:
- Core#event:RadioRequestUtilGetUiStyle
- Core#event:RadioRequestMapIsMap3d
- Core.ModelList#event:RadioTriggerModelListToggleWfsCluster
- Core#event:RadioTriggerMapDeactivateMap3d
- Alerting#event:RadioTriggerAlertAlertRemove
- Tools.Filter#event:RadioTriggerFilterEnable
- Core#event:RadioTriggerObliqueMapDeactivate
- Tools.Filter#event:RadioTriggerFilterDisable
- Core#event:RadioTriggerMapActivateMap3d
- Alerting#event:RadioTriggerAlertAlert
- Core.ModelList.Tool#event:RadioRequestToolGetSupportedOnlyIn3d
- Core.ModelList.Tool#event:RadioRequestToolGetSupportedIn3d
- Core.ModelList.Tool#event:RadioRequestToolGetSupportedOnlyInOblique
- Core.ModelList.Tool#event:RadioRequestToolGetCollection
Listens to Events:
- Controls.Button3d#event:changeButtonTitle
- Controls.Button3d#event:changeOpenView3dText
- Controls.Button3d#event:changeCloseView3dText
- Core#event:RadioTriggerMapChange
Extends
Methods
-
change(map){void}
modules/controls/button3d/view.js, line 81 -
Shows the 3D button as selected. Shows the 3D button as not selected.
Name Type Description map
string Mode of the map. -
controlsMapChangeClose2D(activeTools, supportedIn3d){void}
modules/controls/button3d/view.js, line 227 -
Controls the surface of the portal when leaving the 2D mode.
Name Type Description activeTools
Backbone.Collection contains all activated tools supportedIn3d
Array.<String> contains all tools that are supported in 3D-Modues Fires:
-
controlsMapChangeClose3D(activeTools, supportedOnlyIn3d){void}
modules/controls/button3d/view.js, line 180 -
Controls the surface of the portal when leaving the 3D mode.
Name Type Description activeTools
Backbone.Collection contains all activated tools supportedOnlyIn3d
Array.<String> contains all tools that are only supported in 3D-Modues Fires:
-
controlsMapChangeCloseOblique(activeTools, supportedOnlyInOblique){void}
modules/controls/button3d/view.js, line 203 -
Controls the surface of the portal when leaving the Oblique mode.
Name Type Description activeTools
Backbone.Collection contains all activated tools supportedOnlyInOblique
Array.<String> contains all tools that are only supported in Oblique-Modues Fires:
Listens to Events:
-
mapChange(){void}
modules/controls/button3d/view.js, line 152 -
Shows the map in 3D-mode if 3d button is activated. Shows the map in 2D-mode if the 3d button is deactivated.
Fires:
- Core.ModelList.Tool#event:RadioRequestToolGetSupportedOnlyIn3d
- Core.ModelList.Tool#event:RadioRequestToolGetSupportedIn3d
- Core.ModelList.Tool#event:RadioRequestToolGetSupportedOnlyInOblique
- Core.ModelList.Tool#event:RadioRequestToolGetCollection
- ObliqueMap#event:RadioRequestObliqueMapIsActive
- Core#event:RadioRequestMapIsMap3d
-
render(){Button3dView}
modules/controls/button3d/view.js, line 102 -
Render Function
Fires:
Returns:
Returns itself
-
renderToToolbar(){Button3dView}
modules/controls/button3d/view.js, line 132 -
render function for the table UiStyle
Fires:
Returns:
Returns itself
-
renderToToolbarInit(){Void}
modules/controls/button3d/view.js, line 117 -
initial render function for the table UiStyle - this is necessary because $el has classes attached that are styled for red buttons (which are not used in table style)