google_maps_polyline 2.2.2
google_maps_polyline: ^2.2.2 copied to clipboard
Fetches routes from the Google Directions API and encodes/decodes Google encoded polylines. Pure Dart; works in Flutter apps and on the server.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add google_maps_polylineWith Flutter:
$ flutter pub add google_maps_polylineThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
google_maps_polyline: ^2.2.2Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:google_maps_polyline/google_maps_polyline.dart';