Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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've used jquery-ui draggable option as following but the moving popup can not be ended once dragging has started. Is there any another method to make OpenLayers.Popup draggable?

popup = new OpenLayers.Popup.AnchoredBubble(
                "JInfo",                                            // id
                 jFeature.geometry.getBounds().getCenterLonLat(),  // lonlat
                 new OpenLayers.Size(ISA.Size.POPUP_WIDTH, ISA.Size.POPUP_HEIGHT),
                 html,                                           // contentHTML
                 null,                                           // anchor
                 true,                                           // closeBox
                 function(){                                    // closeBoxCallback
jFeature.popup = popup;    

Thanks advance for your helps,


share|improve this question

An OL extension has been coded for that.

You will find a blog post relative to the draggable behavior and the extension implementation :

With a link to the demo :

The extension full code is available on the blog page. Hope it helps.

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.