If you're really talking about a native iPhone app written in objective C, then the v2 JavaScript API won't work embedded into a webkit type setup. If on the other hand you want to make a web based app that uses html5 constructs to obtain the location using navigator.geolocation, then you at least are in the ball park.
I suggest using the v3 JavaScript API instead of v2 for such a thing. v3 is faster and more efficient plus it's a lot easier to create mobile enabled web pages using v3 than v2. As for the syntax for obtaining a location fix in html5, I suggest searching Google, there's lots of info on that topic available there. -John Coryat http://maps.huge.info http://www.usnaviguide.com http://www.zipmaps.net -- You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.
