Makes map service check style compliant

I would pull out this anonymous inner class. Makes code hard to read.