The Manchester College

Instant HTML5 Geolocation how-to.

Werdmuller, Ben

Instant HTML5 Geolocation how-to. - Birmingham, England : Birmingham, England : Packt Pub, Packt Pub. 2013 ; - 1 online resource (1 volume) : illustrations $a : $b

Understanding the geolocation API (simple) -- Setting up application (simple) -- Getting the user's location (intermediate) -- Displaying the user's location using the Google Maps API (intermediate) -- Displaying the user's location using a KML feed (intermediate) -- Tracking and updating the user's location (intermediate).

In Detail We don't just surf the Web from our desktops any more - we take it with us, everywhere we go. Modern devices contain sophisticated hardware and software to determine the user's location. Apps such as Foursquare and Google Maps use this to create new kinds of functionality. Now, you can do this too with the HTML5 Geolocation API. "Instant HTML5 Geolocation How-to" is a simple guide to adding location information to your web applications. The practical, easy-to-follow recipes are designed to help you learn the ins and outs of the API. You'll learn how to use it, how it works, and how to save and display geographic information on the web. Beginning with a solid grounding in how the Geolocation API works and when to use it, you will learn how to determine, store, display, and track the user's location via a series of clear recipes. You will learn the different ways location is determined on different devices, including desktops and laptops that don't have GPS units. You'll also learn how to selectively use these different behaviours, based on the speed, accuracy, and battery life requirements of your application. You'll also get some hints about using MySQL databases to store sets of location data. "Instant HTML5 Geolocation How-to" will teach you everything you need to know about retrieving the location information your application needs, across multiple devices and platforms. Approach Filled with practical, step-by-step instructions and clear explanations for the most important and useful tasks. The book will take a how-to approach, focusing on recipes that demonstrate geolocation in HTML5. Who this book is for This book is for web developers who want to incorporate geolocation technology into their applications. Previous knowledge about geolocation software or standards is not required. However, this book assumes a general understanding of web technologies, and both Javascript and jQuery in particular. Understanding the geolocation API (simple) -- Setting up application (simple) -- Getting the user's location (intermediate) -- Displaying the user's location using the Google Maps API (intermediate) -- Displaying the user's location using a KML feed (intermediate) -- Tracking and updating the user's location (intermediate)

9781782165910 9781782165903