Ninjakreborn Posted September 16, 2011 Share Posted September 16, 2011 Alright, I have been trying to figure this out for myself awhile. I have a question. What are the technology extents of GPS tracking on the web? Using either PHP, Javascript or something else is there a way that I can get someone's GPS location from their phone in a web browser? I have a very large project that requires some decent GPS features....however, I have underestimated it..and I am at the point where I am about to have to tell the client we have to do this with Mobile apps. I wanted to try to make this happen using the web browser. It's going to be using Google Maps. I was hoping I can pinpoint their location pretty closely. Is this possible in a web environment. Quote Link to comment Share on other sites More sharing options...
Adam Posted September 16, 2011 Share Posted September 16, 2011 I have never attempted to do anything like this, so apologies if I'm not completely accurate. From my understanding of GPS the mobile phone would receive it's position from the satellites, then would need to ping that location to your web service (would probably require an app on the phone). Your server would then use the GPS co-ordinates to plot the location using the Google maps API, and render within a browser. I would imagine there's some form of support for GPS co-ordaintes within the API, and Android/iOS probably have some built-in utilities to make the mobile process easier as well. I don't think it will be a case of mobile or server application; you're going to need to combine the two. Quote Link to comment Share on other sites More sharing options...
xylex Posted September 17, 2011 Share Posted September 17, 2011 Most phones support the HTML5 Geolocation API. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.