Yep. Check out the source in the tag. there's two separate scripts: one that executes the hull algorithm, and the other has the google maps API stuff in it.
In the example, the Initiation() function is called by the body's onload event, which sets up all of the listeners for click events, creates the random points and such.
Check out the algorithm for the hull, the chainHull_2D(P,n,H) function. It took me a bit to follow it but once I got a grasp it makes a lot of sense. The function spits H back out with the array of GLatLng of the hull. A GPolygon is then created using the array of GLatLng.
GPolygon implements googles maps overlay interface so you use the Map.addOverlay function to display the polygon.
Check this tutorial out too to better understand the maps API.