We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support waypoints for overall distance calculation
Current behaviour:
Google::Maps.route('London', 'Cambridge').distance => {"text"=>"61.2 mi", "value"=>98570} Google::Maps.route('London', 'Cambridge', waypoints: 'Luton').distance => {"text"=>"34.1 mi", "value"=>54902}
#distance method only returns distance from London to Luton
#distance
Expected behaviour: Route with waypoint returns distance 71.1 miles (sum of London-Luton + Luton-Cambridge)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Support waypoints for overall distance calculation
Current behaviour:
#distance
method only returns distance from London to LutonExpected behaviour:
Route with waypoint returns distance 71.1 miles (sum of London-Luton + Luton-Cambridge)
The text was updated successfully, but these errors were encountered: