EMS.Service.Route

Gets the directions or route from one location to another.

Response

{
    route: EMS.Route
}
Summary
EMS.Service.RouteGets the directions or route from one location to another.
Constructor
EMS.Service.RouteCreates a new instance of the EMS.Service.Route class.
Functions
route

Constructor

EMS.Service.Route

Creates a new instance of the EMS.Service.Route class.

Functions

route

route: function(query,
callback)

Parameters

query{Mixed} is either a {String} handle to an existing route, an {Object} query or an {Array} of waypoints.
callback{Function} is the callback function.
route: function(query,
callback)
Close