Easy way to encoding and decoding a Google Maps Polyline Algorithm for flutter
Getting started #
You should ensure that you add the polyline_codec as a dependency in your project.
read more at how to install
const coordinates = [ [-179.9832104, 0] ]; final polyline = PolylineCodec.encode(coordinates); print(polyline); //'`~oia@?'
based on https://github.com/mapbox/polyline