flexible_polyline_dart 1.0.1
flexible_polyline_dart: ^1.0.1 copied to clipboard
Package for encoding/decoding Flexible Polyline—a lossy compressed representation of coordinate pairs or triples
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flexible_polyline_dart
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
flexible_polyline_dart: ^1.0.1
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:flexible_polyline_dart/converter.dart';
import 'package:flexible_polyline_dart/flutter_flexible_polyline.dart';
import 'package:flexible_polyline_dart/latlngz.dart';