Class: OverviewMapView

OverviewMapView

OverviewMapView

new OverviewMapView(el, id, config)

modules/controls/overviewMap/view.js, line 41
View to represent Overviewmap
Name Type Description
el Object Jquery element to be rendered into.
id String Id of control.
config Object Attributes of overviewmap.
Name Type Default Description
baseLayer String Id of baseLayer
resolution String Resolution of baseLayer.
isInitOpen Boolean true optional Flag to open map initially or not
Listens to Events:
  • Map#event:RadioTriggerMapChange

Extends

Methods

render(style, control){OverviewMapView}

modules/controls/overviewMap/view.js, line 89
Render function renders and sets or the control button or the menu item
Name Type Description
style string uiStyle to define the UI
control HTMLElement the control UI
Returns:
Returns itself.

toggle(){Void}

modules/controls/overviewMap/view.js, line 112
Toggles the title of the DOM element

toggleControl(state){void}

modules/controls/overviewMap/view.js, line 140
Toggles the mapControl on or off
Name Type Description
state Boolean old state

toggleSupportedVisibility(mode){void}

modules/controls/overviewMap/view.js, line 155
Toggles the visibility of the mini map and the control to start/stop the map depending on the map-state (3d, 2d or oblique).
Name Type Description
mode String Flag of the view mode