Hey List!

I am using OL 2.8 and I am creating an app that needs drag and drop
functionality. I have added a DragFerature control and added my Vector
layer. The vector layer contains features that are represented as icons and
the users is allowed to reposition them via drag and drop. All this works
really well, but my problem is I also need a SelectFeature control so that
the user can single-click a feature and once clicked a FramedCloud will
popup to diplay information associated with that particular icon. 

I added and activated the DragFeature control first and then added and
activated the SelectFeature control and all works just fine until the user
pans or zooms the map and then the click does not respond. The hover works
just fine and I can make do with that, but would really prefer to have the
single-click work. 

I also have a Navigation control added to the map and it is added at map
construction. I have poured over the mailing list trying to find a solution
but can't quite find an example that mimics my problem. I have tried to set
'stopDown' and 'stopUp' to false on all of the controls and nothing seems to
work. 

Also, I have also defined a double-click handler via the callbacks property
in the SelectFeature control and this seems to work just fine regardless if
the map has been panned or not.

I am baffled and really could use some help. If anyone has any suggestions
please help me out.

Thanks
Nate




-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/SelectFeature-click-not-firing-after-map-is-panned-or-zoomed-tp5993289p5993289.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to