M/impl/control/OverviewMap~OverviewMap


import OverviewMap from 'M/impl/control/OverviewMap';

new OverviewMap()

impl/ol/control/OverviewMap.js, line 25

Extends

  • ol.control.Control

Methods

addOpenEventListener()

impl/ol/control/OverviewMap.js, line 127

This method adds the open event listener

addTo(map, template)

impl/ol/control/OverviewMap.js, line 91

This function adds the control to the specified map

Name Type Description
map M.Map

to add the plugin

template function

template of this control

destroy()

impl/ol/control/OverviewMap.js, line 263

This function destroys this control, cleaning the HTML and unregistering all events

facadeControl(c)

impl/ol/control/OverviewMap.js, line 68

This function sets de control facade of the class

Name Type Description
c M/control/OverviewMap

facadeControl(){M/control/OverviewMap}

impl/ol/control/OverviewMap.js, line 78

This function gets de control facade of the class

getElement()

impl/ol/control/OverviewMap.js, line 168

function remove the event 'click'

setTarget()

impl/ol/control/OverviewMap.js, line 150

Sets the target of overviewmap control