[OpenLayers-Trac] [OpenLayers] #2945: Using SelectFeature and GetFeatureinfo controls together

OpenLayers trac-20090302 at openlayers.org
Tue Nov 23 02:56:11 EST 2010

#2945: Using SelectFeature and GetFeatureinfo controls together
 Reporter:  thunderlion                                      |       Owner:  tschaub     
     Type:  bug                                              |      Status:  new         
 Priority:  minor                                            |   Milestone:  2.11 Release
Component:  Handler.Feature                                  |     Version:  2.9         
 Keywords:  GetFeatureInfo SelectFeature Handler.Click.down  |       State:              
 Hi, dear OL developers!

 I've noticed that when I'm using SelectFeature and GetFeatureInfo controls
 together there is a conflict.
 GetFeatureInfo modifies Handler.Click object 'down' property. When this
 GetFeatureInfo disactivates, Handler.Click.down remains not null.
 But Handler.Feature checks this value to be null. Because of this
 SelectFeature doesn't get 'click' event and nothing happens.

 I've solved this problem by set 'down' property manually to null when
 GetFeatureInfo disactivates.

 I think that this is bug... Or, please, tell me how to use these controls
 together :)

 My OS: Windows XP,
 My browser: Firefox 3.6.12

Ticket URL: <http://trac.openlayers.org/ticket/2945>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer

More information about the Trac mailing list