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: 12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4   13.5    Statistic    FMM    Blog  

CoreLocation.latitude

Returns the geographical coordinate information.

Component Version macOS Windows Linux Server iOS SDK
CoreLocation 2.7 ✅ Yes ❌ No ❌ No ❌ No ✅ Yes
MBS( "CoreLocation.latitude" )

Parameters

none

Result

Returns latitude 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

This function checks for a license.

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


CoreLocation.horizontalAccuracy - CoreLocation.locationServicesEnabled

💬 Ask a question or report a problem