Solution 3
I get the same result in FF 3.6, IE 8, and Chrome 8.0
Doing a little more investigating into the issue I noticed that if I took a block of html from able the map (it was a unordered list is links) the double clicking and zooming would work fine. However, I found this to be inconsistent. Namely, I would
remove the block, the zoom would work, I would add the block back in the zoom wouldn't work, I would take the block out and the zoom wouldn't work.
Looking for a potential answer, I overrode my doubleclick function with this, hoping to see a pattern:
MM.Events.addHandler(map,"dblclick",handleDC);
function handleDC(e)
{
var loc = map.tryPixelToLocation(new MM.Point(e.getX(),e.getY()));
var pin = new MM.Pushpin(loc);
pinLayer.push(pin);
e.handled = true;
}
What I saw was that the pin was consistently being placed above where I clicked. What was not consistent however was just how far above it was getting placed. The distance it was off appears to be random with each load of the page.
My best guess is something is interfering with the maps ability to determine the exact location of the mouse cursor, what or how is a beyond me.