The fromLatLngToContainerPixel object seems to be native to the google maps v3?! Crap! Well, thx anyway William. Now I at least have a solution to my problem.
On Mar 20, 8:35 am, William <[email protected]> wrote: > Click event handling is difficult on custom GOverlays. > > Theinputfieldcan be edited when you remove it from the > G_MAP_FLOAT_PLANE, by commenting out this line: > > /*$("#message").appendTo(map.getPane(G_MAP_FLOAT_PANE))*/ > > In your page the Search div and the Message div are already on top of > the Map div, because there are no z-indices set on the top level > divs. They should display in DOM order: > > <body> > <div id="mapDiv"> > <div id="searchDiv"> > <div id="message"> > </body> > > However you will need to use map.fromLatLngToContainerPixel instead of > map.fromLatLngToDivPixel, because the Message div isn't on the map > anymore. Otherwise the infowindow will open in the wrong place if you > drag the map. -- 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.
