module

GoogleMapsApi::Directions

Class methods

get(origin_lat : String | Float64, origin_lng : String | Float64, dest_lat : String | Float64, dest_lng : String | Float64, opts = {} of Symbol => String | Int32)

Get directions between origin_lat, origin_lng and dest_lat, dest_lng

Source
get(origin_place : GooglePlace, dest_place : GooglePlace, opts = {} of Symbol => String | Int32)

Get directions between two Place's, origin_place and dest_place

Source