polyline_codec 0.1.5 polyline_codec: ^0.1.5 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 Dart:
$ dart pub add polyline_codec
copied to clipboard
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
polyline_codec: ^0.1.5
copied to clipboard
Alternatively, your editor might support dart 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