Whew there is a lot to digest here and I'm feeling a bit like I did
when I first looked at the Cocoa frameworks....
Here's what I would like to do in my Cocoa app:
I have some components of an address (not necessarily everything) -
I'd like to be able to open either a webview in the app or a browser
page to the Google map (something like: [[NSWorkspace
sharedWorkspace] openURL:[NSURL URLWithString:googleMapString]]
Now in poking around a bit it looks like it may not be that simple.
Is there a query syntax to use like {http://maps.google.com?
country=us&zip=12345} (I can't seem to find such a thing but maybe?)
Maybe I would need to call a geocoder to get lat and long and then
make a service call??? Does the ObjC stuff support this?
Can someone take a moment and draft a few words to point my in the
right direction (or cite a code sample ;-) ) on how to do the right
thing in the ObjC lib.
Anyway Thanks A Bunch!
Steve
NSWorkspace's openURL: and WebKit are both appropriate ways to display
maps. You may want to manually generate your own html files to display
as the starting point for maps, too.
http://www.google.com/apis/maps/ has documentation for the Google Maps API.
http://www.youtube.com/watch?v=hYB0mn5zh2c is a video introduction to
the Maps API.
http://groups.google.com/group/Google-Maps-API is the discussion group
for the Maps API.