Refactored client side to render dynamic marker object to Gmaps