You mean .map from Quake III or Half-life format?
I don't think that code to do this exists.
If it's Quake III, you can compile to .bsp and load directly in using LoadBSP(). If it's Half-life (i.e. done in Hammer/Worldcraft) you can compile to .bsp, then convert to a .b3d model using BSP Factory -
http://www.binary-people.com/app.php?id=3