Get Hidden Map Area

Is there a way to get the hidden area information on maps that have areas blacked out? I'd like to prevent certain units from spawning where players cannot reach on maps with hidden areas.