RelationshipPopupElement

Represents a pop-up element of type relationship that is displayed in a pop-up for a geoelement. A typical UI implementation displays a preview of RelationshipPopupElement.displayCount related records with a possibility to show more records and more detailed info by record.

Since

200.1.0

See also

PopupElementType

Constructors

Link copied to clipboard
constructor(relationshipId: Long)

Creates a new relationship pop-up element with the given relationship ID.

Properties

Link copied to clipboard

A string value describing the element in detail. Can be an empty string.

Link copied to clipboard

The maximum number of records to display. The default value is 3.

Link copied to clipboard

A MutableListImpl of OrderBy objects indicating the display order for the related records and whether they should be sorted in ascending or descending order. If this collection is empty, the related records are displayed in whatever order the server decides.

Link copied to clipboard

The id of the relationship as defined in the feature layer definition.

Link copied to clipboard

A string value indicating what the element represents. Can be an empty string.

Inherited properties

Link copied to clipboard

A value indicating whether the popup element is contained in the Popup.evaluatedElements.

Inherited functions

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

Convert an object to JSON string.