Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 10.4   10.5   11.0   11.1   11.2   11.3   11.4   11.5   12.0   12.1    Statistic    FMM    Blog  

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

Example Databases

Created 18th August 2014, last changed 13th January 2021


CoreLocation.locationServicesEnabled - CoreLocation.purpose

Feedback: Report problem or ask question.




Links
MBS FileMaker Plugins

Start Chat