1

I have a google maps api v3 web app and I'm curious if there's a way to pass the user's coordinates and the target location to a mobile users (iphone/android) Google Maps app so they can get real time directions if they link out to their maps app from the website?

I guess I don't know how I would make the coordinates available to the phone via the website with javascript?

site is here for reference: http://52.10.135.217/

Thanks you

phillydigital
  • 193
  • 1
  • 11
  • Sounds like you are looking for this http://stackoverflow.com/questions/2577305/how-to-get-gps-location-from-the-web-browser – xkcd149 Dec 17 '15 at 08:34
  • 1
    Use [GCM](https://developers.google.com/cloud-messaging/) or [XMPP](https://developers.google.com/cloud-messaging/ccs) to communicate between the server and mobile to get the frequent updates. – Madhukar Hebbar Dec 17 '15 at 08:39
  • Madhukar this is exactly what I needed thanks, the geolocation tip from 149 addressed the site but not the phone thanks – phillydigital Dec 17 '15 at 09:00

0 Answers0