clang-format off * This generates [Mapbox Vector Tiles](https://mapbox.com/vector-tiles) that can be viewed with a * vector-tile capable slippy-map viewer. The tiles contain road geometries and metadata that can * be used to examine the routing graph. The tiles are generated directly from the data in-memory, * so are in sync with actual routing results, and let you examine which roads are actua
| 449 | */ |
| 450 | // clang-format on |
| 451 | Napi::Value Engine::tile(const Napi::CallbackInfo &info) |
| 452 | { |
| 453 | osrm::Status (osrm::OSRM::*tile_fn)(const osrm::TileParameters ¶ms, |
| 454 | osrm::engine::api::ResultT &result) const = |
| 455 | &osrm::OSRM::Tile; |
| 456 | asyncForTiles(info, &argumentsToTileParameters, tile_fn, {/*unused*/}); |
| 457 | return info.Env().Undefined(); |
| 458 | } |
| 459 | |
| 460 | // clang-format off |
| 461 | /** |