Class: VisualizationPanelView

VisualizationPanelView()

A full-screen overlay panel that displays an external visualization application in an iframe above the map. Opened by clicking an 'iframe' type button on a ViewfinderCardView card. Closed by clicking the close button in the upper right, pressing the Escape key, or by clicking another card action. Security: the iframe `src` is only set when the URL matches the app's `trustedContentSources` configuration. Untrusted URLs are displayed as a plain link instead.

Screenshot

Constructor

new VisualizationPanelView()

Since:
  • 2.37.0
Source:

Extends

  • Backbone.View

Members

className

Source:

type :string

The type of View this is
Type:
  • string
Source:

Methods

close()

Close the panel, stop the iframe, and fire a "close" event.
Source:

events()

The events this view will listen to and the associated function to call.
Source:

initialize()

Bind the Escape-key handler once so the same reference can be added and removed from the document.
Source:

onClose()

Cleanup global handlers if the view is destroyed while open.
Source:

open(url)

Open the panel and load the given URL in the iframe. If the URL is not trusted, show a plain link fallback instead.
Parameters:
Name Type Description
url string The URL to load.
Source:

render() → {VisualizationPanelView}

Render the panel. The panel is hidden by default; call `open()` to show it.
Source:
Returns:
Returns the rendered view element.
Type
VisualizationPanelView