Experiment with different "shortest path" libraries. Try it out at https://experiment-shortest-path.pages.dev/.
Screenshot:
Libraries used:
- OpenLayers for drawing the map
- Turf.js for geometry calculations
Clone repo:
$ git clone https://github.com/orbat-mapper/experiment-shortest-path.git
Navigate to project root:
$ cd experiment-shortest-path
Install dependencies:
$ npm install
To start a development server run:
$ npm run dev
The demo is now running on http://localhost:5173/.