Geolocation and Other Critical Requirements

The main requirement for this application concerns geolocation: determining a latitude and longitude position for the client computer. In this section I will give a brief introduction to the wide variety of ways that the task may be accomplished for computers that range from the most mobile smartphone to the most sedentary desktop. The next section will describe the mechanics of how to use position information in HTML5 and JavaScript.

If you have a Global Positioning System (GPS) chip in your car, phone, or tablet computer, the notion of a computer program determining your location is commonplace. A GPS chip uses information from some of the 24 GPS satellites orbiting the earth to determine its location. ...

Get HTML5 and JavaScript Projects now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.