Select a route network below and drag the pins on the map to specify the start and end locations.
Snap pins if within 1km of road
Route along GeoJSON network
This sample shows how to calculate the shortest route path between two points on a network of lines stored in a GeoJSON file.
The following open source libraries are used in this sample:
GeoJSON Path Finder