M/impl/control/WMCSelector~WMCSelector


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

Main constructor of the class. Creates a WMC selector control

new WMCSelector()

impl/ol/control/WMCSelector.js, line 11

Methods

addTo(map, template)

impl/ol/control/WMCSelector.js, line 21

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