Wrapping Up
In this article, I've explained how to implement mobile mapping on Android and iPhone by embedding a Google Maps JavaScript map inside mobile browsers of native apps. You've learned how to create a simple JavaScript map and then embed it using the WebView and UIWebView embedded browsers on Android and iPhone, respectively.
This design doctrine of using embedded browsers as a way to segregate mapping logic from native logic allows application developers to iterate both sets of logic rapidly and independently, while maintaining the same uniform map for all mobile platforms. Stay tuned for the latest updates of the Google Maps JavaScript API from the Google Geo Developers blog for your future mapping needs.