We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this questionOSX question, not iOS.
I've been searching for a framework to get easy access to the full (or at least the most important functions)of the V3 API Google Maps within a WebView. From what I've read so far it should be technically possible. https://developer.apple.com/library/archive/documentation/AppleApplications/Conceptual/SafariJSProgTopics/ObjCFromJavaScript.html
I found a nice little simple tutorial on V2 which works great. http://www.josephcrawford.com/macdev-articles/google-maps-in-a-cocoa-application/
Now before I start re-inventing the wheel and coding everything from scratch (callbacks from map-pins etc.). Is there nothing open source or similar around?
I'm surprised I could not find much on that subject since having a MapView in Cocoa OSX sounds like开发者_如何学JAVA something many people would find useful theses days.
Thanks for any pointer to an open source project, tutorial or what may be floating around which I could not find.
meanwhile I found this open source project which seems useful to learn how to do it: https://github.com/nst/CocoaSlideShow
Found this pretty nice Wrapper which does 100% the same like the iOS MKMapKit:
https://github.com/Oomph/MacMapKit
Have you checked out Google Mapki? It documents unofficial Google Maps API features. There is an Cocoa Touch example on Kadir Pekel's blog here. Though it might be difficult to adopt the example to Cocoa since it makes use of MKMapView.
Try here programmable web i could not see what you want but there are at least two objective-c wrappers for other popular api's, not google maps tho, and so it might be a starting point.
I am not sure you need a framework to do this. Did you have a look at the link below?
http://code.google.com/intl/fr-FR/apis/maps/articles/tutorial-iphone.html
Then all you need is generate the HTML from your code and load it with UIWebView's loadRequest
.
That's what i did in my iPhone project, worked like a charm.
精彩评论