procedurally generate it... come up with an algorithm that takes a position (x/y) and generates a probability of a star/planet occurring... and then you will consistently have a map that could appear random, but actually isn't.
in practice, you may find that you have a frame-rate scrolling problem if you have a fixed size layout and you're continually re-building the starmap each time you move. if you use standard scroll then you'll need to define a layout size.