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).


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *