Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I'm not certain that this satisfies your goal of avoiding a "Get Directions" dialog, as it will certain involve an intermediate step by the user. But the dialog won't "look squashy" on a mobile device; indeed, it will be optimized for mobile viewing.</p> <p>If you only plug in the daddr (destination address) coordinates to a map call, using the latitude and longitude of your store (or whatever location), Google Maps will try to set the start location to default to the user's "My Location" position if the device supports it, and otherwise will prompt the user to enter the start location. It will also allow the user to select which of the supported modes of transportation is desired (walk, bike, transit, or car).</p> <p>This example plots the route from your location to the Martin Luther King, Jr. birth home in Atlanta: <a href="https://maps.google.com/maps?daddr=33.755418,-84.371100" rel="nofollow">https://maps.google.com/maps?daddr=33.755418,-84.371100</a></p> <p>I tested this successfully on the following devices:</p> <ul> <li>Windows 7 desktop using Chrome;</li> <li>Windows 7 desktop using Firefox;</li> <li>Windows 7 desktop using Internet Explorer;</li> <li>Android phone with Jelly Bean OS using installed Google Maps app;</li> <li>Android phone with Jelly Bean OS using the default browser;</li> <li>Android phone with Jelly Bean OS using Chrome;</li> <li>iPhone with iOS6 using the default browser.</li> </ul> <p>Based on the consistency of the responses I got in those tests, I feel confident it would work in most, if not all, scenarios.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload