Features

A Flutter Package to calculate the distance(By-Road) from gmaps of two points.

Getting started

All you need to do is get a Gmaps Platform API which is Required. You can choose your travel type in your requirement.

Usage

ByRoadDistanceCalculator distance = ByRoadDistanceCalculator();


var distance = await distance.getDistance('YOUR API KEY',
       startLatitude,
       startLongitude,
       destinationLatitude,
       destinationLongitude,
       travelMode: TravelModes.bicycling);

Additional information

Really need contibutors to make this more good and usefull, Hope this helps.