Here's what I'm trying to do. I have two lat, lngs. One is the target or the end point, the other is a stop.
I'm trying to open a map in a browser that finds the route from a individual or the current location to the endpoint via the stop using OSRM.
I tested this link:
It's good. But I want to add a control where a user can enter their current location.
I tried to add &loc=0%2C0 as starting point.
Now there are three control boxes. But the first control does not provide the option to enter the current position.
How can I add the possibility to enter a custom start point?