title: open google maps app from a browser with default start location on android and iphone
body: <p>I have a mobile site and I have a link that can open the google maps native app on iphone and android with default start and end locations by using the link format: <a href="http://maps.google.com/maps?saddr=XX&amp;daddr=XX" rel="noreferrer">http://maps.google.com/maps?saddr=XX&amp;daddr=XX</a>.</p>
  
  <p>My problem is, I want to be able to set the starting location to be the current location, and I want it to work from both android and iphone browsers. From my experience, if I leave the saddr blank, in android this defaults to the current location but on iphone it just leaves the start location blank. If I set the saddr to "current location", this sets the start location to be the current location on iphone but on android it doesn't recognize the location.</p>
  
  <p>My solution right now is to use the user's geo lat/long coordinates as the start address. This works successfully across both platforms but depending on the method used to get the coordinates, it may not be as accurate as the user's current location from the gps on the app. I was wondering if there was some way to get the link to open the native app with the correct "current location" for the starting point. I know I could also conditionally check for the user-agent and create the link accordingly but I was hoping that there would be a more elegant way to do this.</p>