Skip to main content
4 of 4
removed thanks
PolyGeo
  • 65.4k
  • 29
  • 114
  • 345

OpenLayers 2 active select control on layer prevents drag and zoom?

I've build this web-map http://gimoya.bplaced.net/Openlayers/Trails/map.html with bike-trails (retrieved from a KML on my webserver), where several trails from a region are covered by a selectable region's polygon. Selecting a region's polygon will trigger a zoom to the polygons extent. Now, when zoomed inside the selected polygon the active select control prevents dragging and zooming.

Where in my script would I have to deactivate/activate the select control to enable dragging and zooming on top of a selected polygon?

Kay
  • 1.9k
  • 17
  • 29