I'm building a mobile-version of a website, trying to have one-click link to launch Google Maps with driving directions to the business, from the user's current location. I have it working fine for the iPhone, but when testing on Android, it views 'Current%20Location' and tries to find a business called 'Current Location'. Here is my current code:
<a href="http://maps.google.com/maps?saddr=Current%20Location&daddr=123 Street Rd,Cityville,MD,21098">Get Directions</a>
I need a universal string to search from the current location, and can't find a definitive answer anywhere online.
Thanks in advance for any help!
http://maps.google.com/maps?saddr=Current%20Location&daddr=123+Street+Rd,Cityville,MD,21098
More details on the Google map API are here. – Spilt