()
| 106 | |
| 107 | // Generate random coordinate within the defined bounding box |
| 108 | function getRandomCoordinate() { |
| 109 | let lon = seededRandom(sw[0], ne[0]); |
| 110 | let lat = seededRandom(sw[1], ne[1]); |
| 111 | return [lon, lat]; |
| 112 | } |
| 113 | |
| 114 | // Build OSRM API query URL from coordinate array |
| 115 | function makeQuery(coords) { |
no test coverage detected