Feeling a bit foolish, but I was messing with the code in the default map widget and fouled it up. I tried getting code from other map widgets out there...