Add: argument checks and minor refactoring
Add: argument checks and minor refactoring
swsglobal/DotSpatial,CGX-GROUP/DotSpatial,JasminMarinelli/DotSpatial,DotSpatial/DotSpatial,bdgza/DotSpatial,donogst/DotSpatial,DotSpatial/DotSpatial,JasminMarinelli/DotSpatial,CGX-GROUP/DotSpatial,swsglobal/DotSpatial,pergerch/DotSpatial,donogst/DotSpatial,pergerch/DotSpatial,swsglobal/DotSpatial,donogst/DotSpatial,bdgza/DotSpatial,DotSpatial/DotSpatial,pergerch/DotSpatial,JasminMarinelli/DotSpatial,CGX-GROUP/DotSpatial,pedwik/DotSpatial,bdgza/DotSpatial,pedwik/DotSpatial,pedwik/DotSpatial