luish Posted November 19, 2015 Share Posted November 19, 2015 Hey, I want to develop an idea for some friends. I got a website and I want to create an option for different users to login, and the use the geolocation html5 code to show them on a Google map. Then, the admin could see them all together on the map. Something similar to the iPhone's Find My Friends but in html for some friends. Thanks. Link to comment https://www.neowin.net/forum/topic/1279156-multi-users-show-in-google-maps/ Share on other sites More sharing options...
0 pqt Posted November 19, 2015 Share Posted November 19, 2015 Correct me if I'm wrong, but I don't see a question in this thread. Are you looking for help, just giving us a heads up or... ? Link to comment https://www.neowin.net/forum/topic/1279156-multi-users-show-in-google-maps/#findComment-597142734 Share on other sites More sharing options...
0 luish Posted November 19, 2015 Author Share Posted November 19, 2015 I'm just a newbie. i'm asking if want I want to do is possible and how Link to comment https://www.neowin.net/forum/topic/1279156-multi-users-show-in-google-maps/#findComment-597142750 Share on other sites More sharing options...
0 Seahorsepip Veteran Posted November 19, 2015 Veteran Share Posted November 19, 2015 (edited) It's possible. Some client side ajax code updates the user position every x seconds by sending a post message to userlocation.php. Then userlocation.php will add/update the location of a user in a database. The admin has client side ajax code that updates the user positions every x seconds by sending a get message to getuserlocations.php( will fetch the locations from the database). luish 1 Share Link to comment https://www.neowin.net/forum/topic/1279156-multi-users-show-in-google-maps/#findComment-597142844 Share on other sites More sharing options...
0 luish Posted November 19, 2015 Author Share Posted November 19, 2015 It's possible. Some client side ajax code updates the user position every x seconds by sending a post message to userlocation.php. Then userlocation.php will add/update the location of a user in a database. The admin has client side ajax code that updates the user positions every x seconds by sending a get message to getuserlocations.php( will fetch the locations from the database). Thanks, now i will start to research how to code it. Link to comment https://www.neowin.net/forum/topic/1279156-multi-users-show-in-google-maps/#findComment-597142858 Share on other sites More sharing options...
0 Seahorsepip Veteran Posted November 19, 2015 Veteran Share Posted November 19, 2015 (edited) Thanks, now i will start to research how to code it. Start with the basics, database design. Think of the columns you will need(names and data types), post them here and I(and other neowin users) will comment on that to improve it if needed. Few basic pieces of info:user locationuser idlast location update How does the location look like? Multiple numbers? Multiple variables? A single string?How are we going to identify a user? ID from a user account? Or a random id generated for each unique visitor?And at last we need to add the time for the location, so the website can see if a user has been online or not and for how long. Link to comment https://www.neowin.net/forum/topic/1279156-multi-users-show-in-google-maps/#findComment-597142868 Share on other sites More sharing options...
Question
luish
Hey,
I want to develop an idea for some friends.
I got a website and I want to create an option for different users to login, and the use the geolocation html5 code to show them on a Google map.
Then, the admin could see them all together on the map.
Something similar to the iPhone's Find My Friends but in html for some friends.
Thanks.
Link to comment
https://www.neowin.net/forum/topic/1279156-multi-users-show-in-google-maps/Share on other sites
5 answers to this question
Recommended Posts