abinvs-2019 / gmaps_distance_find_package

This is a Flutter package for getting the by road distance from one place to other with polylines.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

This is a Flutter package for getting the by road distance from one place to other with polylines.

License:MIT License


Languages

Language:Dart 100.0%