A marker on a map offers a Directions link. The link opens to Get Directions from a point-A origin to a point-B destination. The point-B is filled-in with the marker location. The point-A is empty.
I'm looking for a way to set the point-A with the user's current location. With one of the plugin add-ons we can ask the user to provide their location via their device. So I'm trying to cut the step where they need to enter their current location when we already have it.
Yes, people occasionally want to know how to get from some Other location A to point B. I'd like to solve this challenge as presented.
I'm hoping a developer can provide guidance on where code can be tweaked to pass the retrieved location to the Google Maps API. Ideally that might later become a new addon.
We can already create a "You are Here" marker on the map using the user's location. So the data is available and it's being sent to Google. I just haven't looked into the code to see exactly where the values are located, and then into the API to see where they should be loaded..