Hello everybody,
I would like to get X and Y on the pop up when user search a feature. I don't know if it's better to do this with Arcade expressions or with a event function.
With Arcade, I have a little problem on the script on the $feature X.
<script id="X">
function MetersToLon(x) {
var originShift = 2.0 * PI * 6378137.0 / 2.0;
var lon = (x HERE THE PROBLEM / originShift) * 180.0;
return Round(lon, 3);
return MetersToLon(Round(Geometry($feature).X, 6));
}
</script> Could someone help me on this please?