You might have better luck with the Flash API than the Javascript API 
because Flash has the ability to rotate images but Javascript doesn't 
(except CANVAS images in HTML5 compliant browsers).

If you decide to go with Javascript, then you'll need to create a large 
number of images representing the icon rotated by various amounts, and 
switch between then with marker.setIcon().

Perhaps you could have two buttons in the infowindow [Rotate Left] 
[Rotate Right]. Instead of using onClick on those buttons, you could use 
onMousedown and onMouseup. While the mouse is down run a timer to slowly 
rotate the icon using marker.setIcon() calls.

-- 
Mike Williams
http://econym.org.uk/gmap


--

You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-api?hl=en.


Reply via email to