Hi all!

I have an openlayers application with a controlspanel consisting of buttons
that activate controls like pan, zoomBox and other. I also have a
vectorlayer attached to a selectFeature control that is always active. On
feature select i show a popup with som information on the object clicked.
When pan control is activated the selectFeature control works as expected,
but when zoomBox is activated the zoom event takes place instead of feature
select. 

My question: How can i disable default map control, like zoomBox, when click
on a feature?

I would like default map control to execute if click is not on a feature,
but prevent it from execute when clicking on a feature in my vector layer.

My application is set up with OpenLayers 2.8.

Any help would be appreciated!
Richard
-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/selectFeature-and-disable-default-map-control-tp5912375p5912375.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