M/control/Panzoom~Panzoom


import Panzoom from 'M/control/Panzoom';

new Panzoom(vendorOptions)

facade/js/control/Panzoom.js, line 24
Name Type Description
vendorOptions Object

vendor options for the base library

Extends

  • M.Control

Members

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

Template for this controls - button

Methods

createView(map){Promise}

facade/js/control/Panzoom.js, line 45

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/Panzoom.js, line 56

This function checks if an object is equals to this control