If your map is bounded by a set of line segments, then it's pretty easy to work out if a point is inside or outside it. First build a 2d line segment <-> 2d line segment intersection routine. Then, pick any point which is definitely outside the map. For every line segment in the map outline, work out if a line from the player to the outside point crosses that line segment. If it does, then add 1 to a counter. Once you've checked all the line segments, if the counter is odd then the player is inside the map, if the counter is even, then the player is outside.
Jim