O'Reilly logo

Pro jQuery Mobile by Brad Broulik

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Google Maps Integration

In a recent Mobile Web survey, nearly 75% of Web developers use Geolocation, making it the most popular HTML5 API.13 When building applications that are location aware, it is common to have a map view displaying points of interest or directions. On the Web, Geolocation14 in conjunction with Google Maps15 provide a very useful API for building map functionality. In this section, we are going to see how well jQuery Mobile integrates with Geolocation and Google Maps. To start we will create an example that plots your current location on a map (see Figure 9–8).

__________

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required