The Geolocation sample application is meant to track the user’s progress as they travel by dropping a pin on the map every 10 seconds. That way, the user is able to record their progress and perhaps expand on this data to create an application of their own.
Secondly, the code that creates the map if there are no points to plot is here.
This application is only meant for smart phone devices and not for tablets. It may not size appropriately depending on which device it runs on.
This sample application has been tested on a variety of iOS and Android smartphones.