> Any idea how to specify multiple points on the map? I'd like to get a > set of points to appear on the map from a list of lat/lon values. > Since we don't have an API to the app, I suspect this is not possible > presently.
I don't know how to feed it into the phone via URL -- the only way I have done it is from within javascript, using the Maps API. From what I know of URL inputs into maps, you can feed search queries that result in multiple markers, but I don't know of a good way to specify the markers themselves. You can fake it by asking for directions between two locations: http://maps.google.com/maps?f=d&hl=en&geocode=&saddr=37.77,-98.87&daddr=37.32,-76.76&sll=37.0625,-95.677068&sspn=34.122306,59.941406&ie=UTF8 There may be other ways to do it. I tried using the "My Maps" feature in Google maps to make a map with multiple markers, and then e-mailing the link to my iPhone, but it opened that in Safari rather than in the maps widget. > Wouldn't it be nice to have some custom Javascript functions on the > iPhone to access the Contacts, Music list, Calendar, photos, and have > a "mini-API" for the Maps app? I suppose those functions would need > to be disabled by default, and enable-able for specific domains or > something for security. But that would be pretty nice. That would be pretty cool, though the phone contacts list already does something like this -- if you tap a contact's address, it goes to the maps widget and shows a marker. I would not be surprised if other parts of the iPhone are already maps-savvy too. Craig --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
