polyline_codec 0.1.2 polyline_codec: ^0.1.2 copied to clipboard
Easy way to encoding and decoding a Google Maps Polyline Algorithm for flutter
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add polyline_codec
copied to clipboard
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
polyline_codec: ^0.1.2
copied to clipboard
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:polyline_codec/polyline_codec.dart';
copied to clipboard