google_polyline_algorithm library Null safety


decodePolyline(String polyline, {int accuracyExponent = 5}) List<List<num>>
Decodes polyline String via inverted Encoded Polyline Algorithm
encodePoint(num current, {num previous = 0, int accuracyExponent = 5}) String
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. If you only have a few static points, you may also wish to use the interactive polyline encoding utility. [...]
encodePolyline(List<List<num>> coordinates, {int accuracyExponent = 5}) String
Encodes List<List<num>> of coordinates into a String via Encoded Polyline Algorithm Format [...]