[Users] FeatureSelectionModel blocks click event

Denis Rykov rykovd at gmail.com
Wed Jan 26 10:42:20 CET 2011


Hi!
I use SelectFeature control:
var select = new OpenLayers.Control.SelectFeature([layer1,layer2],
        {hover:true,
            callbacks:{
                click: function(feat) {
                    createPopup(feat);
                }
            }
        });
It works fine. But when I set up FeatureSelectionModel:
...
sm: new GeoExt.grid.FeatureSelectionModel({layerFromStore: true})

click is blocked and I can't execute createPopup() function.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20110126/c157de1f/attachment.htm 


More information about the Users mailing list