Press space to generate map