How can i append and display long, lat in my popupTemplate?
What I had tried is using arcade expression but the query is making the popup loads too slow.
const template = {
title: "Title",
content: [
{
type: "fields",
fieldInfos: [
{
fieldName: "expression/getCoords",
},
//......
]
}
],
expressionInfos: [
{
name: "getCoords",
expression: "Centroid($feature).x" //test
}
],
actions: [editActions]
}