Class: Button3dView

Controls.Button3D Button3dView

Button3dView

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:

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)