The popup block

The popup block contains information on how the popup is displayed and which attributes to show.

These are the fields that each popup block can contain:

Field nameDescription


Optional. The attribute that will be used to title the popup if available


Optional. The attribute that will be used to populate the popup image if available


Optional. One of either “table” or “list”. The way the popup will show its contents. Defaults to "table"


Optional. A list of attributes to show in the popup following the order defined here. If it’s not defined, only attributes with a value will show in the popup. If it’s defined, all attributes here will show even if the selected feature doesn’t include them.

Example of a popup block
"popup": {
  "keyAttributes": [
  "titleAttribute": "barriers",
  "popupLayout": "list"

Last updated