Jump to content

Recommended Posts

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.

Link to comment
https://forums.phpfreaks.com/topic/247242-gps-tracking/
Share on other sites

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.

Link to comment
https://forums.phpfreaks.com/topic/247242-gps-tracking/#findComment-1269878
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.