M/control/Panzoombar~Panzoombar


import Panzoombar from 'M/control/Panzoombar';

new Panzoombar(vendorOptions)

facade/js/control/Panzoombar.js, line 23
Name Type Description
vendorOptions Object

vendor options for the base library

Extends

  • M.Control

Members

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

Template for this controls - button

Methods

createView(map){Promise}

facade/js/control/Panzoombar.js, line 44

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/Panzoombar.js, line 55

This function checks if an object is equals to this control