M/impl/control/Rotate~Rotate


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

Main constructor of the class. Creates a WMC selector control

new Rotate()

impl/ol/control/Rotate.js, line 18

Extends

  • ol.control.Control

Members

module:M/impl/control/Rotate~Rotate.PANEL_ID{string}

Rotate panel id

Methods

addTo(map, template)

impl/ol/control/Rotate.js, line 33

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/Rotate.js, line 94

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

getElement()

impl/ol/control/Rotate.js, line 81

TODO

resetRotation()

impl/ol/control/Rotate.js, line 104