How can I use a JS or plugin on a website, to calculate shortest path between 2 points along a road network?
I made the road network in QGIS, then exported with qgis2web plugin for my website.
I'm not sure but seems like google doesn't go over some lawns and the path will end at the road only.
While making my own network of roads in QGIS and using the road graph I can have what I want. But if I export it using qgis2web, the road graph plugin is left behind. And google APIs only give me the one in the image.
As you can see, the left picture only ends at the road using QGIS. So I made my own paths in QGIS but I can't use it in my website.