iPhone location fed into HTML5

Discussion in 'iOS Programming' started by sshonig, Mar 10, 2015.

  1. sshonig macrumors newbie

    Joined:
    Mar 10, 2015
    #1
    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
     
  2. moonman239 macrumors 68000

    Joined:
    Mar 27, 2009
    #2
    No. HTML5 has a geolocation API, which iOS, Android, and Windows Phone support.

    http://www.w3schools.com/html/html5_geolocation.asp
     

Share This Page