Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a kml layer, and have a popup open when the user selects on a feature.

I use OpenLayers.Control.SelectFeature and OpenLayers.Popup.FramedCloud. The selection happens when the user clicks.

If the popup is open, I cannot click, pan or zoom the map whilst within the popup div. This is particularly noticeable with the FramedCloud popup, because a large chunk of the div is transparent.

I guess the events are no longer happening as far as the map is concerned, because the div is in the way. I am not saying it is wrong, it is just confusing when it looks like you click on the map and nothing is happening.

Also, regardless of whether or not the popup is open, drag no longer works if you are over a feature (guess the event is doing something else now).

I think I would like the events to continue to happen on the map. Is that possible?


share|improve this question
I am taking a different approach at the moment. Thanks for your answers. – zod Jan 2 '13 at 15:10

The SelectFeature control is preventing the click to propagate to other controls. You should deactivate after use to avoid those interferences.

Or you going need to overload parts of it to change the behavior to do what you want.

I not sure but I guess you going need to change the handlers of control to permit clicks to propagate.

share|improve this answer

Try use:

var framedCloudCustomized = OpenLayers.Class(OpenLayers.Popup.FramedCloud, {
  displayClass: "olScrollable olPopup",
  registerEvents:function() { = new OpenLayers.Events(this);
myPopup = new framedCloudCustomized(...);


  1. In this manner you can not select text popup.
  2. You can also zoom using the mouse wheel, but only with the development version of "lib/OpenLayers/Handler/MouseWheel.js"
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.