alternativeText property

String get alternativeText

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.

Placeholders allow the pop-up content to update contextually based on the user's interaction with the map.

They are enclosed in curly braces and support two primary data sources:

  • Standard fields: using attribute values (for example, {CITY_NAME}).
  • Arcade expressions: displaying the results of custom logic or calculations (for example, {expression/expr0}).
set alternativeText (String value)