M/control/Rotate~Rotate


import Rotate from 'M/control/Rotate';

new Rotate(format)

facade/js/control/Rotate.js, line 127
Name Type Description
format String

format response

Extends

  • M.Control

Members

module:M/control/Rotate~Rotate.NAME{string}

Name of the class

Methods

createView(map){Promise}

facade/js/control/Rotate.js, line 157

This function creates the view to the specified map

Name Type Description
map M.Map

map to add the control

Returns:
html response

equals()

facade/js/control/Rotate.js, line 180

This function checks if an object is equals to this control

getActive()

facade/js/control/Rotate.js, line 199

getMouseDown()

facade/js/control/Rotate.js, line 217

setActive()

facade/js/control/Rotate.js, line 190

setMouseDown()

facade/js/control/Rotate.js, line 208