I haven't tested yet, but couldn't you use the map mousemove event,
something like:
var resizing = false;
// on marker dragstart
resizing = true
// on marker dragend
resizing = false
// on map mouse move
if (resizing) // calculate aspect ratio
I am using the map mousemove technique in my drawing application, and
it works very well. If you're using Chrome, chances are that it will
run very smoothly, also.
Probably you could do it with the marker drag event, but if you drag
in another direction, the cursor will not be on the marker anymore,
and I don't know what kind of creepy effects that would generate
On Nov 17, 7:04 am, "Enoch Lau (Google Employee)"