Birds Eye View

One of the first "killer apps" for Ajax was Google Maps.6 Using JavaScript and the XmlHttpRequest object, Google engineers created a draggable, zoomable, silky smooth map viewer that ran in any modern web browser without a plug-in. The idea was quickly copied by other vendors such as Microsoft and Yahoo, but the Google version is arguably still the best.

You can use these web-based maps in Android, perhaps with an embedded WebView control as discussed in Section 7.2, Web with a View, on page 135. But the architecture of your application would be overly convoluted. That's why Google created the MapView control.

0 0

Post a comment