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.ParseDistance

Parses distance string.

Component Version macOS Windows Linux Server FileMaker iOS SDK
MapView 9.2 Yes No No Yes, macOS only Yes
MBS( "MapView.ParseDistance"; text )   More

Parameters

Parameter Description Example
text The text to parse. "8 km"

Result

Returns number or error.

Description

Parses distance string.
Uses current locale, so may use miles in US and km in Europe.
Returns distance in meters.

Examples

Parse 8 km:

MBS( "MapView.ParseDistance"; "8 km" )

Example result: 8000

See also

Blog Entries

Release notes

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


MapView.Overlays   -   MapView.PlanRoute

Feedback: Report problem or ask question.




Links
MBS Xojo PDF Plugins

Start Chat