When you get an image from the Google Maps Streetview -
http://code.google.com/apis/maps/documentation/streetview/index.html
Using the syntax:
http://maps.googleapis.com/maps/api/streetview?size=400x400&location=40.720032,%20-73.988354&fov=90&heading=235&pitch=10&sensor=false
It will load an image with the camera pointed at the object. The documentation states:
heading (optional) indicates the compass heading of the camera. Accepted values are from 0 to 360 (both values indicating North, with 90 indicating East, and 180 South). If no heading is specified, a value will be calculated that directs the camera towards the specified location, from the point at which the closest photograph was taken.
I'd like to the compass heading of the camera when I load an image?