/mapview/popup

Methods

(inner) Popup(params, mapview)

The method creates a popup element that is displayed on the mapview at a specified location. The content of the popup can be an HTML element or a string. The popup is removed when the params argument is falsy or when a new popup is created.

Parameters:
NameTypeDescription
paramsobject

The params object is spread into the interaction defaults.

mapviewmapview

The mapview object to which the interaction will be added.