Polyline Encoder
Encode / Decode polylines
Encoded polylines are great for reducing the size of a coordinates array, for storage or to show on a map (Google maps, Leaflet, Mapbox).
This polyline encoder can create an encoded polyline from an Array of Coordinates [lat,lng]
This polyline encoder can create an encoded polyline from an Array of Coordinates [lat,lng]
Array
xxxxxxxxxx15
[ [ 10.155057907104492, 56.138352670069864 ], [ 10.151925086975098, 56.14643406792885 ], [ 10.155143737792967, 56.147079550100564 ] ] Encode
Copy to clipboard
Polyline encoded
xxxxxxxxxxo_gbf@cwnyKscaV|rOpihCjnhDnnnMyaWjq|Holk@ria@{q}EDecode
Copy to clipboard
