Do the following tutorials and you will know how to record 'bread crumbs' or way points.
The LocationSensor tutorial
http://appinventor.mit.edu/explore/ai2/location-sensor.html . This tutorial shows one way to generate a list of waypoints and displays the list of lat/lon coordinates once a minute or so. This could be modified so that the points can be captured only when a button is touched. The list, which includes the time and Accuracy, can be displayed with only the coordinates ...the way points.
The Static Maps tutorials plot the information on a Google map and require a WIFI or network connection. It is possible to plot this information also on a map you provide if you know the geographic coordinates of two alternate corners of your own image map. It requires a lot of coding, uses a Canvas control and the World to Screen algorithm shown in this tutorial:
Canvas Graph…an expert AI2 tutorial ..you need the algolrithm for placing each of the x and y coordinates on to the Canvas.
The following two mini tutorials show how to store the information in a TinyDB
However the solution I like best would store the breadcrumbs / way points in a csv file using the File object.
FIle and csv's .... another possibility for storing and retrieving you leader board info....here are links to a lot of stuff about them
An issue here is how to store the latitude , longitude coordinates, one way is to display coordinates like those for Yellowstone National Park ( 44.427963,-110.588455 ) like this: "44.427963,-110.588455" inside double quotes as a single csv item. The File mini tutorials do not show exactly what you need to do.
Does this help? Good luck with your project.
Regards,
Steve