Hi Jesse, Currently this scenario is adverse: BBOX and Cluster! :(
I have been developing a tool to be able to face it. It is not finished but can comfortably handle this scenario. View your example rewritten using FeaturePoups: http://jorix.github.com/OL-FeaturePopups/examples/nbtsolutions-FP.html is simpler. NOTE: I used HTTP instead WFS protocol in order to show the example on GitHub Pages. Feedbacks are welcome. Regards, Xavier Mamano Jesse V. Griffis wrote > > Greetings, > > Here's the situation: > 1. Copied basic map setup from popup demo here: > http://openlayers.org/dev/examples/select-feature-openpopup.html > > 2. Modified to include the general WMS world map, plus a sample WFS layer > I am > working with. > > 3. WFS layer includes BBOX + Cluster strategies. > > 4. Included only the SelectFeature control and activated on init. No other > special stuff. > > Here's the URL, js self-contained: > http://icf.nbtsolutions.net/test/ > > To reproduce my issue: > > 1. Click any of the vector features. See the popup. > 2. Click zoom in on the zoom bar. > 3. Try to close the popup with the red X. > 4. See the 'layer is null' broken js in firebug. > > It's coming from SelectFeature.unhighlight, line 483 (git clone'd a couple > weeks ago). > > If you remove the Cluster strategy, the bug goes away. > > Should I report this as a bug, or send this note to the -users list to > figure > out how to do it correctly? :-) > > Thanks, > > Jesse > > -- > Jesse V Griffis > Senior Developer > NBT Solutions LLC > Buffalo, NY > phone: 716.210.6092 > email: jesse.griffis@ > web: www.nbtsolutions.com > _______________________________________________ > Dev mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/openlayers-dev > -- View this message in context: http://osgeo-org.1560.n6.nabble.com/WFS-Vector-Cluster-SelectFeature-bug-tp4947562p4950040.html Sent from the OpenLayers Dev mailing list archive at Nabble.com. _______________________________________________ Dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-dev
