Constructor
new MapPopup(map)
Parameters:
Name | Type | Description |
---|---|---|
map |
Map |
- 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