I am testing Field Maps to collect points and I want to store the GPS Elevation value in a field.
My feature class has the Z enabled.
I tried
var sGeo = Centroid($feature)
return sGeo.z
But it does not return anything on Android or IOS. I am using the latest version of Field Maps on both.
I have also found that
var sGeo = Centroid($feature)
return sGeo.x
or
return sGeo.y
work on Android but not IOS.
Are there other functions I should be using?
Thanks