Popup
Popup instances are created by the Viewer when calling the method viewer.addPopup()
. Popups can also be bound to Markers by calling the method marker.bindPopup()
.
popup.getAnchor()
popup.setAnchor(position)
popup.isVisible()
popup.setVisible(visible)
popup.remove()
popup.getAnchor()
Gets the anchor position of the popup.
popup.setAnchor(position)
Sets the anchor position of the popup.
popup.isVisible()
- Returns: <boolean>
Returns true if the popup is visible.
popup.setVisible(visible)
visible
: <boolean>
Sets the visibility of the popup.
popup.remove()
Removes the popup.