O'Reilly logo

Oracle APEX Cookbook - Second Edition by Marcel Van Der Plas, Michel Van Zoest

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Geolocation – creating a tracker

One of the features of HTML5 is the Geolocation API. The Geolocation API is a set of methods that help you share your location. It has a number of ways to determine your location:

  • Using your IP address
  • Using your wireless network connection
  • Using your cell phone connection
  • Using built-in GPS receiver

The most important parameters to show the location are the latitude and the longitude. But there is also the altitude and the accuracy. The Geolocation API can also show the direction you are moving to and the speed.

Sharing your location can be useful in a number of applications on your mobile device. One example is a tracking system where the mobile device stores the coordinates in a table at frequent times. In this way ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required