module GoogleMapsApi::Directions

Defined in:

google_maps_api/models/directions.cr

Class Method Summary

Class Method Detail

def self.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


[View source]
def self.get(origin_place : GooglePlace, dest_place : GooglePlace, opts = {} of Symbol => String | Int32) #

Get directions between two Place's, origin_place and dest_place


[View source]