color coded map markers

how about a `switch` statement instead of a bunch of `if` statements?