Using the loop to set locations for all posts on a single google map

I have managed to find the problem.

Basically calling the google API from the footer was causing the maps to break and not function properly.