clang-format off * Returns the fastest route between two or more coordinates while visiting the waypoints in order. * * @name route * @memberof OSRM * @param {Object} options Object literal containing parameters for the route query. * @param {Array} [options.coordinates] The coordinates this request will use, coordinates as `[{lon},{lat}]` values, in decimal degrees. * @param {Array} [option
| 307 | */ |
| 308 | // clang-format on |
| 309 | Napi::Value Engine::route(const Napi::CallbackInfo &info) |
| 310 | { |
| 311 | osrm::Status (osrm::OSRM::*route_fn)(const osrm::RouteParameters ¶ms, |
| 312 | osrm::engine::api::ResultT &result) const = |
| 313 | &osrm::OSRM::Route; |
| 314 | async(info, &argumentsToRouteParameter, route_fn, true); |
| 315 | return info.Env().Undefined(); |
| 316 | } |
| 317 | |
| 318 | // clang-format off |
| 319 | /** |
no test coverage detected