add the map drag detector and move the check current location function from didUpLoadLocation to the map drag derector.