views:

27

answers:

0

Hey all, im having an issue with Google maps and jQuery appendTo().

Im using the following to create and attach a custom infoWindow to Google markers.

$("#message").appendTo(map.getPane(G_MAP_FLOAT_SHADOW_PANE));

The following would also work ...

$("#message").appendTo(map.getPane(1));

This attaches itself within the right DIV as you would expect, but anything within this message box isn't selectable.

To further illustrate my frustration, I have a 'directions' form loading into this message box which has an input, but im unable to add anything into the input. Ive checked z-index and disabled the following functions that I thought may be causing the issue but no avail.

map.disableDragging(); 
map.disableDoubleClickZoom();

Would love to hear of anyone else having this issue or a solution.

Thanks guys,