Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
CoreLocation.longitude
Returns the geographical coordinate information.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
CoreLocation | 2.7 | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |
MBS( "CoreLocation.longitude" )
Parameters
none
Result
Returns longitude of geo coordinate.
Description
Returns the geographical coordinate information.This function queries current know location. It's updated from time to time. To receive a script call when new location is available, please use CoreLocation.SetUpdateLocationHandler.
Returns zero if not location is available. See CoreLocation.hasLocation function.
Examples
Query position:
Set Field [ CoreLocation::latitude ; MBS("CoreLocation.latitude") ]
Set Field [ CoreLocation::longitude ; MBS("CoreLocation.longitude") ]
See also
- CoreLocation.altitude
- CoreLocation.hasLocation
- CoreLocation.latitude
- CoreLocation.SetUpdateLocationHandler
Example Databases
Blog Entries
FileMaker Magazin
This function checks for a license.
Created 18th August 2014, last changed 13th January 2021