snap to closest marker