Polyline Tools
A Dart package for encoding and decoding Google Maps polylines. The polyline_tools
package allows you to easily convert between encoded polyline strings and lists of geographical coordinates.
Features
- Encode a list of
LatLng
points into a Google Maps encoded polyline string. - Decode a Google Maps encoded polyline string back into a list of
LatLng
points. - Simple API for quick integration in Flutter and Dart applications.
Getting started
To use polyline_tools
, add it as a dependency in your pubspec.yaml
file:
dependencies:
polyline_tools: ^1.0.0 # Replace with the latest version