M/control/OverviewMap~OverviewMap


import OverviewMap from 'M/control/OverviewMap';

Main constructor of the class. Creates a GetFeatureInfo control to provides a popup with information about the place where the user has clicked inside the map.

new OverviewMap(options, vendorOptions)

facade/js/control/OverviewMap.js, line 27
Name Type Description
options Object
vendorOptions Object

vendor options for the base library

Extends

  • M.Control

Members

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

Template for this controls - button

Methods

createView(map){Promise}

facade/js/control/OverviewMap.js, line 48

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/OverviewMap.js, line 59

This function checks if an object is equals to this control