Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

sshonig

macrumors newbie
Original poster
Mar 10, 2015
1
0
Hi Everyone,

I'm new in the developing world, and I have a question:

I would like to automatically feed a specific iPhone's location info into an HTML5 JS map (with the user's permission, of course), and have the countries the user visited saved on a map on the site. What would be the easiest way to do it? Could I do it using HTML5 alone or would I have to develop an iOS app?

Thanks in advance :)
-S
 

moonman239

Cancelled
Mar 27, 2009
1,541
32
Hi Everyone,

I'm new in the developing world, and I have a question:

I would like to automatically feed a specific iPhone's location info into an HTML5 JS map (with the user's permission, of course), and have the countries the user visited saved on a map on the site. What would be the easiest way to do it? Could I do it using HTML5 alone or would I have to develop an iOS app?

Thanks in advance :)
-S

No. HTML5 has a geolocation API, which iOS, Android, and Windows Phone support.

http://www.w3schools.com/html/html5_geolocation.asp
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.