Our project utilizes the Google Maps API (as of writing this, Version 3.15.16). We will use this API to display an interactive map that is centered on the user's current location. Our project will also use the geolocation features that Cordova/PhoneGap provide in order to obtain the user's location over a period of time to allow the app to record the path the user takes during the same period. Instead of a voice recorder, think of the app as a path recorder.
In order to actually use Google Maps, we have to load the API libraries. We have to approach this a little bit differently because we are using RequireJS—we can't actually do anything related to map in the app until the libraries have loaded.
We'll also cover a little bit of the Google Maps API itself. The subject, on the whole, is worth a book on its own; consider this as a jumping-off point.
While the visual star is the Google Map, the main feature of the app is to record paths. This means that we'll...