DeletedUser53596
Guest
sometimes after dragging the map, it will become stuck in "drag mode" even though the mouse button is no longer clicked. the issue seems to be caused by elements and/or their contents accidentally becoming highlighted/selected while you were dragging the map.
calling this within the function that drags the map should help
Code:
function clearSelection() {
if ( document.selection ) {
document.selection.empty();
} else if ( window.getSelection ) {
window.getSelection().removeAllRanges();
}
}
calling this within the function that drags the map should help