PopupMedia

Represents the media that is displayed in a pop-up for a geo-element.

Since

200.1.0

See also

Constructors

Link copied to clipboard
constructor()

Create a new popup media. Use this object to define an image or a chart to be displayed in a pop-up window.

Properties

Link copied to clipboard

A string providing the alternate text for the media. This can contain placeholders, which are dynamic variables, that retrieve and display attribute data specific to the geoelement that the pop-up is displayed for.

Link copied to clipboard

The caption that is displayed for the media. This can contain placeholders, which are dynamic variables, that retrieve and display attribute data specific to the geoelement that the pop-up is displayed for.

Link copied to clipboard

The image refresh interval. This property is useful only for a pop-up media of type PopupMediaType.Image. The refresh interval, in milliseconds. A refresh interval of 0 means never refresh. The default value is 0.

Link copied to clipboard

The title that is displayed for the media. This can contain placeholders, which are dynamic variables, that retrieve and display attribute data specific to the geoelement that the pop-up is displayed for.

Link copied to clipboard

The type of media.

Link copied to clipboard

The optional popup media value that are depending on the type of media. A null if an error occurs or if the popup media has no associated value.

Functions

Link copied to clipboard

Generates a ChartImage with an image of the chart. Will fail if the pop_up media is a PopupMediaType.Image or if PopupElement.isEvaluated is false.