Hi all,

I know that viewing KML map files / URLs via the iPhone Maps app
officially stopped working a while back (some time after iPhone OS
2.0?), but there was a hack that made it possible again (see this site
for a JavaScript example of a tool that would do the encoding work for
you: http://adlr.info/mymaps-iphone.html). I was using it with
Google's My Maps tool to draw up some handy maps that were included
with our mobile iUI-based web app. It was great because you could
specify up to 100 locations and retain the names when the pins were
selected, etc.

I knew it was a hack that Apple might "fix" at some point, and it
looks like they may have done just that. As of OS 3.1.2 I can't seem
to get it to work -- all I get is a "no results found" message when
clicking the links in Mobile Safari that used to work. Anyone else
have experience working with these kind of links, or noticed the same
thing? Should I assume that KML is gone for good from the native
iPhone OS?

For those interested, the hack worked by taking the URL of the KML
file you wanted to view, passing it through a urlencode() function,
and tacking 'maps:q=' to the front and '%26output%3Dkml' to the end.
Just like that, the Maps app was happy to display the pushpins as
expected, just like the olden days of the iPhone (by the way, anyone
know why KML links are no longer supported?).

Thanks for any info...
Adam
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"iPhoneWebDev" 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/iphonewebdev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to