It depends on how you made the map. Did you create it with the editor in the Smile Tool? If so did you save it as one file or several layers? If you have a bunch of data statements or read from a text file the answer will be different. The SmileTool editor is nice but has hard coded map sizes. Which is why other methods can be better.
A single file is harder to load, but I do have a demo that reads it in. This is Part 1 of 3, see attached. The map loading function should be easy to reuse.