Merge pull request #2 from lholmquist/maptype

add ability to change the maps type