Note that there are some explanatory texts on larger screens.

plurals
  1. POopen Google map app via webpage in iphone Safari browser and create waypoints/directions
    text
    copied!<p>I built a fun project called poorsquare.us and I'm looking to add a simple mobile map component to it without actually building an app.</p> <p>Note: This is just a simple webpage (not a native iphone app)</p> <p>I want to display a link on mobile safari (iphone) that, when clicked, sends the user to the maps app with multiple waypoints, walking directions, optimized for travel and with custom labels.</p> <p>So far this link will take me from safari into the maps app, but I'm not sure what parts of the URL to change to get the labels working, if that's even possible.</p> <p><a href="http://maps.google.com/maps?saddr=40.78817,-73.97635+(blah)&amp;daddr=40.7979,-73.9636+(dsatsda)+to:40.7924,-73.9666&amp;hl=en&amp;ll=40.793409,-73.969982&amp;spn=0.014523,0.024719&amp;sll=40.79029,-73.971484&amp;sspn=0.014524,0.024719&amp;geocode=FcpgbgId4jWX-w%3BFcyGbgIdsGeX-w%3BFVBxbgId-FuX-w&amp;vpsrc=0&amp;dirflg=w&amp;mra=ls&amp;t=m&amp;z=16" rel="nofollow">http://maps.google.com/maps?saddr=40.78817,-73.97635+(blah)&amp;daddr=40.7979,-73.9636+(dsatsda)+to:40.7924,-73.9666&amp;hl=en&amp;ll=40.793409,-73.969982&amp;spn=0.014523,0.024719&amp;sll=40.79029,-73.971484&amp;sspn=0.014524,0.024719&amp;geocode=FcpgbgId4jWX-w%3BFcyGbgIdsGeX-w%3BFVBxbgId-FuX-w&amp;vpsrc=0&amp;dirflg=w&amp;mra=ls&amp;t=m&amp;z=16</a></p> <p>what i'd like is for the link to:</p> <ul> <li>sense the current GPS (so "sensor=true") as the starting point</li> <li>set up many (like 10-25) different waypoints that are displayed in the map app.</li> <li>for each waypoint i can provide: title, lat/lon, text address - i'd like the title to be displayed on the pin (right now it's just saying "86 street" or something generic like that)</li> <li>i'd also like to provide text information (so when you click the pin, and then click the little right arrow, it opens the address info screen - in that area i'd like to put a description</li> <li>and mode=walking</li> </ul> <p>i'm not sure what the other params are in the url above (which i basically took from the google map directions from my browser).</p>
 

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