Separate Latitude and Longitude from current location

Hello, I would like to store the latitude and longitude separately from the user present location when they save a record.
The app uses Here() to get the lat/long but how do I get their latitude and longitude separately ?

Welcome to the AppSheet community!

2 Likes

Thank-you Suvrutt, excited to be here.
That doesnt work. Im trying to get the separate latitude and longitude coordinates from the Here() function. Or is there another way for getting present location coordinates and store the in separate fields ?

Yes you can do any of the below

  1. You could have a column of LatLong type called say [MyLocation] with a formula HERE()
    A) Then you can find latitude with expression LAT([MyLocation]) and longitude with LONG([MyLocation])

  2. Alternatively you could directly separately capture latitude and longitude with expressions LAT(HERE()) and LONG(HERE())

2 Likes

Perfect… Thank-you Suvrutt.

1 Like