[OpenLayers-Users] ZoomBox interfering with Vector & SelectFeature

Greg Allensworth gregor at greeninfo.org
Fri Jul 15 13:11:08 EDT 2011


I have a map with a Vector layer (GeoJSON from a PHP), a SelectFeature 
control, and a ZoomBox control.

http://www.mapsportal.org/TEST/scc/test.html

Until you activate on the ZoomBox control, you'll notice you can click 
on the dots; afterward, you cannot.

Any use of the ZoomBox control (boxzoom) causes the Vector layer 
(projectoverlays) to become unclickable. This includes activating and 
deactivating it without drawing a box.

After the layer becomes unclickable, the SelectFeature tool (selecttool) 
is not deactivated (at least its active property remains true), but for 
some reason it's completely ineffectual.

Any ideas on this? I've probed and Googled and read the docs, but am 
coming up blank.


-- 
Greg Allensworth
Web GIS Developer, GreenInfo Network
BS  A+  Network+  Security+  Linux+  Server+


More information about the Users mailing list