A little google-map component refactoring.