Here is a clear, color-coded map from wikimedia commons that shows the US as Whitman knew it: seceeding states, Union states with slavery, Union states without slavery, territories. And here is one that shows the same, but in a more traditional cartography: