Re: [OpenLayers-Users] Vector layer popup doesn't close after layer refresh

2009-07-14 Thread Adrian Popa
I managed to close my active popups before doing the refresh. Here's what I did on my example: function updateMarkers(){ //see if we have an active marker opened var openMarker = null; if(markers.selectedFeatures.length == 1){ //save the marker details

[OpenLayers-Users] Vector layer popup doesn't close after layer refresh

2009-07-13 Thread Adrian Popa
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 po