Now that we are through with the hardest parts of this book, and you have mastered a lot of very important aspects of the library, we will discuss an entirely different concept of OpenLayers 3 in this chapter. We will create a geocaching application that can be used on handheld devices and desktop computers too. We will write this application from scratch and utilize some of the knowledge we just harnessed from the previous chapters.
For those who don't know what exactly geocaching is, let's start with a brief explanation. Geocaching is a great outdoor activity. A player needs two essential things: a device with GPS and a database of geocaches. There are plenty of little boxes hidden in Nature, marked with a point, and uploaded in a geocaching database. The game is usually played as follows: the player picks a cache on the device; if the location is found, the cache still needs to be located as it is usually well-hidden. When the player finds the box, there...