PopupManager interface

A manager for the map control's popups. Exposed through the popups property of the atlas.Map class. Cannot be instantiated by the user.

Methods

add(Popup | Popup[])

Adds a popup to the map

clear()

Removes all popups from the map.

getPopups()

Returns the popups currently attached to the map.

remove(Popup | Popup[])

Removes a popup from the map

Method Details

add(Popup | Popup[])

Adds a popup to the map

function add(popup: Popup | Popup[])

Parameters

popup

Popup | Popup[]

The popup(s) to add.

clear()

Removes all popups from the map.

function clear()

getPopups()

Returns the popups currently attached to the map.

function getPopups(): Popup[]

Returns

Popup[]

remove(Popup | Popup[])

Removes a popup from the map

function remove(popup: Popup | Popup[])

Parameters

popup

Popup | Popup[]

The popup(s) to remove.