Skip to content

There's no tests using latitude and longitude in the directions_spec.rb #13

Description

@mateusluizfb

I was checking if there's support for lat and lng parameters in the gem, but I didn't found any tests in the directions_spec.rb using them as parameters, I'm gonna use the directions passing lat and lng and i'll post the feedback here.

EDIT: If you pass the lat and lng as string the result is the same:
routes = gmaps.directions( "#{order.latitude},#{order.longitude}", "#{customer.latitude}, #{customer.longitude}", mode: "driving", alternatives: false, units: "metric" )
I'll try to do the tests later.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions