refactoring restaurantsViolationsOnGoogleMap func