Rust port of Google Maps Polyline Encoding
Description
Encode and decode polyines in Rust using this package.
Polyline encoding is a lossy compression algorithm that allows you to store a series of coordinates as a single string. Point coordinates are encoded using signed values.
Read more at https://developers.google.com/maps/documentation/utilities/polylinealgorithm.
Note
I have no affiliation with Google or Google Maps. This package was ported from https://github.com/googlemaps/js-polyline-codec.
Example
use LatLng;
let encoded = "_p~iF~ps|U_ulLnnqC_mqNvxq`@";
assert_eq!;
let path = &;
assert_eq!;
License
MIT OR Apache v2.0