Hi everyone, I'd like your help with a javascript problem. I want to draw markers from a script that generates KML output and I have follows the sundials example: http://openlayers.org/dev/examples/sundials-spherical-mercator.html However, if I want to refresh the KML layer and I have an open popup, the popup div will no longer close after the layer refresh. You can see this problem for yourselves in the above example, by clicking on a sundial and then issuing the command (in firebug): map.layers[2].refresh({force:true}); This will cause the browser to re-get the KML data for the layer - and the open popup will no longer respond to commands.
My question is - how can I close the popup and re-open it after refresh? I understand that I will need to write some code for that to work - but I would like to know if I can send click events so that the usual functions will do what they need to do. Any help is appreciated. Regards, Adrian _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
