Here is the running example without the lib from Mike: http://chirurgie-osterstrasse.de//content/pages/kontakt/gmap.php On event onwindowopen I replace the DIV with flash und start displaying of realtime with ajax. rainer
On 29 Mrz., 09:29, Kontaktschmied <[email protected]> wrote: > By using the wondefull lib from Mike I want use ajax to fill the > infowindow. In a no egeoxml-project it works fine. > > The fired event "infowindowopen" of a marker is the solution. I bind a > periodicale executer mit ajax to the marker. > > How can I solve the problem in the EGeoXml enviroment? > > line 195 of egeoxml.js: > > GEvent.addListener(m, "click2", function() { > m.openInfoWindowHtml(html2 + "</div>",iwoptions); > }); > GEvent.addListener(m, "click3", function() { > m.openInfoWindowHtml(html3 + "</div>",iwoptions); > }); > GEvent.addListener(m, "click4", function() { > m.openInfoWindowHtml(html4 + "</div>",iwoptions); > }); > } else { > var html1 = html; > } > //#### added by me: > GEvent.addListener(m, "infowindowopen", function(m) {alert > (m); } ); /// dont work!!! > > //########## > GEvent.addListener(m, "click", function() { > eval(myvar+".lastmarker = m"); > m.openInfoWindowHtml(html1 + "</div>",iwoptions); > }); > if (!!this.opts.addmarker) { > this.opts.addmarker(m,name,desc,icon.image,this.gmarkers.length) > } else --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
