M/impl/control/Navtoolbar~Navtoolbar


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

new Navtoolbar()

impl/ol/control/Navtoolbar.js, line 15

Extends

  • ol.control.Control

Methods

addTo(map, template)

impl/ol/control/Navtoolbar.js, line 28

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/Navtoolbar.js, line 53

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

getElement()

impl/ol/control/Navtoolbar.js, line 40

function remove the event 'click'