Skip to main content

google_maps_polyline 2.2.2 copy "google_maps_polyline: ^2.2.2" to clipboard
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_polyline

With Flutter:

 $ flutter pub add google_maps_polyline

This 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.2

Alternatively, 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';
4
likes
160
points
256
downloads

Documentation

API reference

Publisher

verified publisherabdurrahmankaraoglu.com

Weekly Downloads

Fetches routes from the Google Directions API and encodes/decodes Google encoded polylines. Pure Dart; works in Flutter apps and on the server.

Repository (GitHub)
View/report issues

Topics

#maps #polyline #directions #google-maps

License

MIT (license)

Dependencies

http

More

Packages that depend on google_maps_polyline