PopupInfo defines the component properties for the popup component set in the slides.

Referenced by: elements

Properties

PropertyDetails
features[]A list of features which should be displayed in the popup component.
locationThe position of the popup in the view.
selectedFeatureIndexThe index of the feature selected in the popup.

popupInfo Example

{
"features": [
{
"layerReference": {
"layerId": "layer-0"
},
"id": {
"type": "objectId",
"value": 1
}
},
{
"layerReference": {
"layerId": "layer-3",
"sublayerId": 3
},
"id": {
"type": "globalId",
"value": "{31595CF4-D5C7-49A4-85D2-C245BEBC009F}"
}
}
],
"selectedFeatureIndex": 1,
"location": {
"x": -118.15,
"y": 33.8,
"z": 530,
"spatialReference": {
"wkid": 4326
}
}
}