Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 8.2   8.3   8.4   8.5   9.0   9.1   9.2   9.3   9.4   9.5    Statistic  


Formats a distance.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
MapView 9.2 Yes No Yes, macOS only No Yes
MBS( "MapView.FormatDistance"; distance )   More


Parameter Description Example value
distance The distance in meters to format. 123


Returns text or error.


Formats a distance.
Uses current locale for formatting, so it uses km in Europe and miles in USA.


Format a distance:

MBS( "MapView.FormatDistance"; 9555 )

Example result: "9,6 km"

See also

Blog Entries

Release notes

Created 17th March 2019, last changed 17th March 2019

MapView.CreateWithSize   -   MapView.GetAnnotationCoordinate

Feedback: Report problem or ask question.

MBS Xojo tutorial videos