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  

Math.PolylineDecode

Decodes number from Polyline Algorithm Format.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Math 9.2 Yes Yes Yes Yes Yes
MBS( "Math.PolylineDecode"; Text )   More

Parameters

Parameter Description Example value
Text The coordinate value to decode. "~ps|U"

Result

Returns number or error.

Description

Decodes number from Polyline Algorithm Format.
We decode the number stored in the given text and return the numeric value.
Precision is just 5 digits after comma.

See
https://developers.google.com/maps/documentation/utilities/polylinealgorithm

Examples

Decode a number:

MBS("Math.PolylineDecode"; "~ps|U")

Example result: -120.20

See also

Blog Entries

Release notes

Created 31st March 2019, last changed 31st March 2019


Math.PixelToMillimeter   -   Math.PolylineEncode

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins