TextPopupElement

A pop-up element that displays plain text, fields, and some of the HTML tags of a GeoElement in a pop-up. The TextPopupElement.text returned by this popup element may contain HTML content. In some cases, the HTML may be relatively simple and you could parse this code directly. However, we recommend that you use a platform-specific view to incorporate the HTML content seamlessly into your app's UI. For example, if you are building an iOS app you could use the WKWebView object to display the HTML content.

Since

200.1.0

Constructors

Link copied to clipboard
constructor(text: String = "")

Creates a new text pop-up element with the given text.

Properties

Link copied to clipboard

The text to display in the pop-up.

Inherited properties

Link copied to clipboard

True if the pop-up element is contained in the Popup.evaluatedElements, false otherwise.

Inherited functions

Link copied to clipboard
open override fun toJson(): String

Convert an object to JSON string.