Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


Returns the geographical coordinate information.

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




Returns longitude of geo coordinate.


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.


Query position:

Set Field [ CoreLocation::latitude ; MBS("CoreLocation.latitude") ]
Set Field [ CoreLocation::longitude ; MBS("CoreLocation.longitude") ]

See also

Example Databases

Blog Entries

This function checks for a license.

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

CoreLocation.locationServicesEnabled - CoreLocation.purpose