This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HTML5 Geoloaction

 
L Tran
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HTML5 GeoLocation

I know there's an app for this but I would like to learn how to do this.
When I upload my code onto the server it can find where I am in realtime with geolocatin.
But if I would like to monitor someone using the geolocation, how would I go about doing ths??
Do you need to download a Google API or something??

So if I am currently at location A and personXY is at location B. If I was to look at my monitor, how do I see personXY on google map in realtime.
Any tips or advice would be greatly appreciated.


Here's my code, that only monitors myself
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64698
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How do you expect to know where that other person is? Are they wearing a GPS beacon on their head?

Or are they "checking in" using some phone app?
 
L Tran
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
my final product is have a phone app that can track a certain person's location.
I know there's an app for this already but I would like to learn how to do this myself.
There are millions of people out there. How do I monitor person X with my phone??
Does he and I need to have a google API or something so we can be in sysnc with each other??

I checked the web and google dev page and they don't have anything on how to monitor someone's location for the phone.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64698
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Of course not. How could your phone track someone else? Can your phone tell you where I am right now?

The only way to do this would be for the other person to have a phone or other device that would record his or her location in your database (or somewhere else accessible).
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm confused - do you want to do this with a native app, or via the HTML geolocation API? Both are possibilities, but your question mixes both, and so can't easily be answered.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic