Szczegóły ebooka

Instant HTML5 Geolocation How-to. Learn how to create elegant, location-aware web applications using the JavaScript Geolocation API

Instant HTML5 Geolocation How-to. Learn how to create elegant, location-aware web applications using the JavaScript Geolocation API

Benjamin Otto Werdmulle

Ebook
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.
  • Instant HTML5 Geolocation How-to
    • Instant HTML5 Geolocation How-to
    • Credits
    • About the Author
    • About the Reviewers
    • www.PacktPub.com
      • Support files, eBooks, discount offers and more
        • Why Subscribe?
        • Free Access for Packt account holders
    • Preface
      • What this book covers
      • What you need for this book
      • Who this book is for
      • Conventions
      • Reader feedback
      • Customer support
        • Downloading the example code
        • Errata
        • Piracy
        • Questions
    • 1. Instant HTML5 Geolocation How-to
      • Understanding the Geolocation API (Simple)
        • How to do it...
        • How it works...
        • Theres more...
          • Further resources
      • Setting up the application (Simple)
        • Getting ready
        • How to do it...
        • There's more...
      • Getting the user's location (Intermediate)
        • Getting ready
        • How to do it...
        • How it works...
      • Displaying the user's location using the Google Maps API (Intermediate)
        • How to do it...
        • How it works...
        • See also
      • Displaying the user's location using a KML feed (Intermediate)
        • Getting ready
        • How to do it
        • How it works...
        • See also
      • Tracking and updating the user's location (Intermediate)
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
  • Tytuł: Instant HTML5 Geolocation How-to. Learn how to create elegant, location-aware web applications using the JavaScript Geolocation API
  • Autor: Benjamin Otto Werdmulle
  • Tytuł oryginału: Instant HTML5 Geolocation How-to. Learn how to create elegant, location-aware web applications using the JavaScript Geolocation API
  • ISBN: 9781782165910, 9781782165910
  • Data wydania: 2013-05-22
  • Format: Ebook
  • Identyfikator pozycji: e_3au4
  • Wydawca: Packt Publishing