On 8/28/2012 4:01 AM, Yasemin YILMAZ wrote:
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?
I would lay down a Marker along with the Popup, and put a drag handler on the Marker, which would reposition the Popup. Drag the marker, the Popup moves.
It would be easy that way, and I suspect that moving a Marker is a more expected behavior to end users, than being able to drag a Popup.
-- Greg Allensworth, Web GIS Developer BS A+ Network+ Security+ Linux+ Server+ GreenInfo Network - Information and Mapping in the Public Interest 564 Market Street, Suite 510 San Francisco CA 94104 PH: 415-979-0343 x302 FX: 415-979-0371 email: [email protected] Web: www.GreenInfo.org www.MapsPortal.org Subscribe to MapLines, our e-newsletter, at www.GreenInfo.org _______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
