The GeoLocation
object in Sencha Touch provides properties which we can use to figure out the direction and the speed at which we are moving. This could be useful in applications where you may want to suggest to the user the nearest petrol pump based on his direction. In this recipe, we will look at the use of related properties.
Make sure that you have set up your development environment by following the recipes outlined in Chapter 1.
Carry out the following steps: