Let’s say you want to create a web application that offers discounts and special deals on running shoes in stores that your application’s users are within walking (or running) distance away from. Using the HTML5 Geolocation API, you can request users to share their location and, if they agree, you can provide them with instructions on how to get to a nearby store to pick up a new pair of shoes at a discounted rate.
KeywordsGlobal Position System Error Code Distance Tracker Geolocation Data Position Request
Unable to display preview. Download preview PDF.