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:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
MapView.FormatDistance
Formats a distance.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| MapView | 9.2 | Yes | No | No | Yes, macOS only | Yes |
MBS( "MapView.FormatDistance"; distance ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| distance | The distance in meters to format. | 123 |
Result
Returns text or error.
Description
Formats a distance.Uses current locale for formatting, so it uses km in Europe and miles in USA.
Examples
Format a distance:
MBS( "MapView.FormatDistance"; 9555 )
Example result: "9,6 km"
See also
Example Databases
Blog Entries
Release notes
- Version 9.2
- Added MapView.FormatDistance, MapView.ParseDistance and MapView.PlanRoute functions.
Created 17th March 2019, last changed 17th March 2019
MapView.CreateWithSize - MapView.GetAnnotationCoordinate
Feedback: Report problem or ask question.
Links
MBS FileMaker tutorial videos