You can make these projects your own by combining the geolocation feature with more substantial applications. Knowing where the visitors to your site are located can help personalize the application, and perhaps influence the choice of images. An informal summary/outline of the basic geolocation application follows:
init: For initialization, including invoking the call for geolocation, which is done asynchronously
problemhandler: For completing the geolocation
makemap: For bringing in the Google Map
checkit: For responding to clicks on the map and invoking
reversegeo: For determining an address from a latitude/longitude value
Table 6-1 lists all the functions and indicates how ...