Location
Purpose 
Returns the current latitude and longitude on an iOS device running FileMaker Go. Also returns the horizontal accuracy of the values returned. The location is obtained via GPS, cellular network, or Wi-Fi.
Format 
Location (accuracy {; timeout})
Parameters 
accuracy - any numeric expression or field containing a number that represents a distance in meters.
timeout - any numeric expression or field containing a number that represents the most time it will take to fetch the location. Measured in seconds, the default value is 60.
Parameters in curly braces { } are optional.
Data type returned 
Text
Originated in 
FileMaker Pro 12.0
Description 
Returns and caches the location of a device in the format latitude, longitude. You can use the values that are returned to query map services. Location fetches the location values until timeout. If you cancel the process, FileMaker Go returns the most accurate location in the cache (if any).
If no location is received, FileMaker Go returns an empty string. In FileMaker Pro, Location returns an empty string.
Note  To avoid excessive battery consumption and repeat fetches, specify a smaller number for timeout.
Examples 
Location ( 100; 40 ) takes up to 40 seconds to return the latitude and longitude with an accuracy of 100 meters.
+110.230000, -131.340000, +65.000000
Related topics 
Functions reference (category list)
Functions reference (alphabetical list)
LocationValues