Generated using TypeDoc
Generated using TypeDoc
Generated using TypeDoc
@placemarkio/polyline
-
+
+
polyline development is supported by 🌎 placemark.io
A maintained fork of the Mapbox module.
Differences:
@@ -29,38 +12,4 @@Generated using TypeDoc
Generated using TypeDoc
Decodes any string into a [longitude, latitude] coordinates array.
+Function decode
Decodes any string into a [longitude, latitude] coordinates array.
Any string is a valid polyline, but if you provide this -with an arbitrary string, it'll produce coordinates well +with an arbitrary string, it'll produce coordinates well outside of the normal range.
-Parameters
---
-
--
-
str: string
precision: number = 5
Returns Position[]
-
-Settings
Member Visibility
Theme
Generated using TypeDoc
Parameters
Returns Position[]