I am trying to figure out how to control what is displayed in a geolocation field, the coordinates or the address. When I choos a location on android or desktop using the map it will store the location object and display the address. I wanted to copy the address from one entry into another entry and finally determined I had to do it using coordinates. Assuming that is the only way, I figured out how to do that using info provided by
To copy GPS data, I split it into lat and long and then reassemble them. This works well for me.
var ort = e.field("GPS Daten ")
var lat = ort.lat
var lng =ort.lng
var gps = lat +",""+ lng
e.set("GPS neu ",gps)
Thank you for that!
Is there a way to control the objects appearance to show the address like it does when I enter a location using the built in map, instead of the coordinates that I apparently have to use when copying the location from one entry to another? Besides extracting the address and displaying it in a text field.
Thanks in advance!
Todd