Hi Mike & Ross, now I solved the problem. Here ist it. http://tools.webmasterei.com/solarmonitor/
The solution is to use GEvent.addListener (mmap,"infowindowprepareopen", mymonitor); I know this event is hot, but it gives me a parameter. Rainer On 30 Mrz., 19:12, Mike Williams <[email protected]> wrote: > Wasn't it Kontaktschmied who wrote: > > In this version it works in parts: > > > > > var mmap=new GMap2(document.getElementById("map")); > > var exml = new EGeoXml("exml", mmap, "kampnagelsolar.xml"); > > exml.parse(); > > GEvent.addListener(mmap,"infowindowopen", startMonitor); // this > >callback function has not parameter! > > mmap.setCenter(new GLatLng( 53.583222, 10.021180),15); > > >console.log() of the first parameter of startMonitor bring > >'undefined'. > >Wh?. I dont understand. > > The documentation says that the map "infowindowopen" event doesn't > return any parameters. > > --http://econym.org.uk/gmap > The Blackpool Community Church Javascript Team --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
