HTML and CSS Reference
Map data 2012 © Google
Figure 13-5 The finished Locations page with geolocation built in.
The new GeoLocation API is helping to bridge the gap between native applications and web applications. In this
chapter, you learned how to take advantage of this new API in order to enhance the Locations page on the Joe's
Pizza Co. website.
Additionally, you learned how to obtain a user's location and how the device goes about gathering this information.
nearest to the user. Your program then highlights this location to make it more visible to the user as well as adding
distance labels to each of the restaurant locations on the Locations page.
enables you to draw pictures directly in the browser.