When you release the mouse, figure out the distance to the center of each of your map pieces. Choose the closest one, and SpringPosition there.
I am not quite sure what you mean by the last part.
Make sure "Restrict Within Panel" checkbox is checked on UIDraggablePanel.
SpringPosition.Begin(gameObjectToMove, targetPosition, strength);
...where 'strength' is how fast you want it to move. 3 is slow and smooth, 8 is quick. 1000 is instant.
Not to the panel but to whatever you're dragging. The same object that has UIDragPanel.
The ability to scroll past the edge is in the dragging style specified on UIDraggablePanel. MomentumAndSpring is the default, which means you can go past the edge. Try others.
The springing back into place after you release the mouse button is what "Restrict Within Panel" does.
Not to the panel but to whatever you're dragging. The same object that has UIDragPanel.
SpringPosition is not meant to be moving drag panels. You're looking for SpringPanel.
Not to the panel but to whatever you're dragging. The same object that has UIDragPanel.