kb0 / maps_toolkit

Dart library for area, distance, heading measurements
Apache License 2.0
46 stars 17 forks source link

Return driving distance on ComputeDistanceBetween #6

Closed d-apps closed 4 years ago

d-apps commented 4 years ago

Is it possible to add a route type parameter (for example as enum) to get driving distance between two points?

SphericalUtil.computeDistanceBetween(latLngFrom, latLngTo, RouteType.DRIVING)

kb0 commented 4 years ago

This library only support mathematics functions to calculate distance, area or heading without any integrations with other services like Google Maps, Bing Maps or OpenStreetMaps.