My SAMPLE project is Key: Q34443GD. In that folder is a file called PLATFORM. Starting on line 362 is a function called LOAD_MAP that will load a map from SmileBasic's Map Editor. I hope that helps.
It is a user defined function I made. You have to copy the function into your code to make it work. It probably depends on a couple of other helper functions and variables in the code too. Good luck