Class: MapPopup

vef.map.popup.MapPopup(map)

Class for getting popup data and creating popups on Map

Constructor

new MapPopup(map)

Parameters:
Name Type Description
map Map
Author:
Source:

Methods

requestPopup(layers, bbox)

Method that requests the featureinfo and displays it in a popup
Parameters:
Name Type Description
layers Array.<Layer>
bbox object
Source:

testHeight_(element) → {number}

Calculate height of an element by adding it to an invisible container and checking the offsetHeight
Parameters:
Name Type Description
element HTMLElement
Source:
Returns:
height
Type
number