polyline_codec 0.1.6

SDKdartflutter
Platformandroidioswindowslinuxmacosweb

Easy way to encoding and decoding a Google Maps Polyline Algorithm for dart and flutter

polyline_codec

Getting started

You should ensure that you add the polyline_codec as a dependency in your project.

read more at how to install

Usage


const coordinates = [
      [-179.9832104, 0]
    ];

final polyline = PolylineCodec.encode(coordinates);

print(polyline); //'`~oia@?'

based on https://github.com/mapbox/polyline