Closed danpaz closed 3 years ago
Simple web app to visualize output from valhalla's expansion endpoint.
Paste geojson from a request, e.g.
curl -g 'localhost:8002/expansion?json={"locations":[{"lat":40.650105,"lon":-73.949585,"type":"break","name":"Brooklyn"},{"lat":40.646076,"lon":-73.783905,"type":"break","name":"JFKAirport"}],"costing":"auto","directions_options":{"units":"miles"}}' > out.txt
And use the slider to progress through the expansion. You can use arrow up/down and page up/down to move forward and backward.
This only works with relatively small routes -- the geojson gets quite large for longer routes.
Simple web app to visualize output from valhalla's expansion endpoint.
Paste geojson from a request, e.g.
And use the slider to progress through the expansion. You can use arrow up/down and page up/down to move forward and backward.
This only works with relatively small routes -- the geojson gets quite large for longer routes.