struct Gmaps::DirectionResult
- Gmaps::DirectionResult
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
gmaps/direction_result.crConstructors
- .new(geocoded_waypoints : Array(Gmaps::GeocodedWaypoints), routes : Array(Gmaps::Route))
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#build_static_map(size : String = "640x640")
use the StaticMap class to get a static map of the routes
- #fetch_static_map(size : String = "640x640", format : String = "png", api_key : String | Nil = nil)
- #geocoded_waypoints : Array(GeocodedWaypoints)
- #routes : Array(Route)
Constructor Detail
Instance Method Detail
def build_static_map(size : String = "640x640")
#
use the StaticMap class to get a static map of the routes
def fetch_static_map(size : String = "640x640", format : String = "png", api_key : String | Nil = nil)
#