Skip to content

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

@mateusluizfb

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.

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