javascript - GoogleMaps Overlay (floatPane) does not recive Click events -


what need configure receive click-events in googlemaps overlays?

i have set minimal js-fiddle example here: http://jsfiddle.net/esbel/4/

i inherit own class google.maps.overlayview creates div , attaches maps floatpane.

in example above clone div same site - click events work on template not in overlay-div... ideas?

here other example found on net shows jqueryui overlay: http://fiddle.jshell.net/5kvy6/302/ , controls recive clicks normal... , dont find difference.

edit: sofar have found gmaps creates overlay asynchronous, click handler link didnt attached, works $(..).live, still not able click button or enter text textbox; have updated example above.

thx, daniel

you forgot add click event copied content. adding code getpanes() works

... var panes = this.getpanes();  // yet exists // example $(this._div).click(function(){alert('here am');}); 

Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -