draw the subway map to achieve the drag function, the first drag is normal, the back drag will appear a backward effect in the opposite direction.
function clickSubway(e) {
    isDrag=true;
    start_x=e.pageX-draw.offsetLeft;
    start_y=e.pageY-draw.offsetTop;
}
//
function dragSubway(e) {
    end_x=e.pageX-draw.offsetLeft;
    end_y=e.pageY-draw.offsetTop;
    mx=end_x-start_x;
    my=end_y-start_y;  //,
    if(isDrag){
        drawSubway();
    }
}
function stopDrag(e) {
    isDrag=false;
    e.stopPropagation();
    e.preventDefault();
}