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

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

Openlayers OpenLayers2 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 ontopon top of a selected polygon?

Thanks for any pointers!

Openlayers 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 ontop of a selected polygon?

Thanks for any pointers!

OpenLayers2 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?

added 1 character in body
Source Link
Kay
  • 1.9k
  • 17
  • 29

I've build this web-map http://gimoya.bplaced.net/Openlayers/Trails/map.html with bike-trails (retievedretrieved 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 ontop of a selected polygon?

Thanks for any pointers!

I've build this web-map http://gimoya.bplaced.net/Openlayers/Trails/map.html with bike-trails (retieved 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 ontop of a selected polygon?

Thanks for any pointers!

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 ontop of a selected polygon?

Thanks for any pointers!

Source Link
Kay
  • 1.9k
  • 17
  • 29
Loading