How to do terrain lightmap in 3?

I try to go to generate my terrain’s lightmap in 3, and the option is no longer where it was in 2.x. How can I do it in 3.x?

Select your terrain, open up the lightmapper window from the Window menu, and generate your lightmap. If you want to lightmap everything instead of just your terrain, select the light and do the lightmapping from there. If you want to just lightmap a single object, select the object and then lightmap it from the same window.