set the var for exit the mapSurfaceView