4 ms·
This is amazing. I didn't know the iPhone could provide your location to web apps. Let me ask you guys a question. I had an idea for a simple location based
by bioweek 17y ago
This is amazing. I didn't know the iPhone could provide your location to web apps.
Let me ask you guys a question. I had an idea for a simple location based app. It simply tells you the next high and low tide for the nearest body of water to you. Should I just make that a web app since I can now get the iPhone's location, or should I still do a native iPhone app?
Advice, pros, cons?
- jfarmer 17y agohttp://dev.w3.org/geo/api/spec-source.html http://dev.w3.org/geo/api/spec-source.html The only question is fidelity of the underlying data. On mobile devices it can be very high. Most (all?) desktop browsers that support the Geolocation API just use the IP address, so Firefox says I live in Alameda, CA, even though I really live in Palo Alto.
- bioweek 17y agoNo, I believe the iPhone shares it's location with the website. That's what this article is about.
- jfarmer 17y agoYes, through that API (AFAIK). Safari and Firefox both support it, but it depends on the fidelity of the location data available to the browser. Obviously mobile Safari has access to better data than desktop Safari.