I am new here, so I hope I am doing it right. I have a similar question as Drag issue on an OpenLayers map inside a jquery ui draggable div
But I need to go a step further. I have created a setup with kolor PTP, with an OSM (mapstraction) map inside a window (about 400x700px) on top of the whole viewer (which is the whole screen). I have enabled dragging on this mapwindow, no problem. I have also created a 'click' event for the map to get coordinates, no problem. As long as I don't drag the mapwindow, it works perfectly. But if I drag this mapwindow to the other side of my screen and try to get coordinates, it gets the wrong coordinates. Like that the map is created on top of the whole screen and you can only see the part inside the mapwindow. If you drag this mapwindow, and click inside the mapwindow, it converts the new mouse coordinates to a LatLon as if the map hasn't moved at all. But it did, if I drag the mapwindow, the map gets dragged along nicely.
I have tried to capture everything in DIVs and set draggable on and off for some parts, but to no avail.
Anybody?