PgRouting / pg_tileserv / pg_featureserv

Click once to set a start point, and a second time to set an end point and generate a route.

Routes are node-to-node so clicks are interpretted as starting from the nearest node.