[OpenLayers-Users] How to make OpenLayers.Popup draggable?
Yasemin YILMAZ
yasemin.yilmaz.embedded at gmail.com
Tue Aug 28 04:01:41 PDT 2012
Hi all,
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
jSelectControl.unselect(jFeature);
});
jFeature.popup = popup;
map.addPopup(popup);
$("#JInfo").draggable();
Thanks advance for your helps,
Yasemin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20120828/3c0e0ee5/attachment.html>
More information about the Users
mailing list