Mind you, there are errors that I throw to the browser console (or firebug lite) when you deny the attempt to use the Geolocation methods, but the demo really demands that you allow it.
This gives us two global variables that will be populated with the latitude and longitude information, error handling writing out to the browser console, and all we really need to do to kick this into motion is to call the
html5:canvas Custom Control is designed to create a simple HTML5
The above example generates the following HTML markup:
Now, we'll use this HTML5 canvas to paint a Google Static Maps API-based map image of our current location.
mapIt() function will be used to set the value of two UI fields, and then paint the HTML5 canvas with the map image returned from the Google Static Maps API which is built using our