This is nice. Mobile Safari now has a very simple and elegant Javascript API to the iPhone’s location functions. This means a web app can request a visitor’s location, and if the user agrees, coordinates are made available (just like with native iPhone apps). Very sweet. Can’t wait for a reason to use this.
http://mapscripting.com/how-to-use-geolocation-in-mobile-safari
Sorry, the time to post comments to this entry has expired.
001 // Steve Stedman // 06.30.2009 // 2:27 PM
This was my most anticipated addition to iPhone OS 3.0. The convergence of browser location awareness (Firefox 3.5 has it too) and more refined mapping APIs (Gmaps v3 is slimmer/more modular) is going to be huge.
Replicating the native iPhone Maps app is now ridiculously easy: http://plebeosaur.us/you-are-here-with-safari-on-iphone/