I have a google map inside of a div which gets changed, its parent div can get an additional class which changes its dimensions. This changes causes the google map not to ge
Check the google.maps.Map class reference, I think you're looking for the resize event:
resize
Developers should trigger this event on the map when the div changes size:
google.maps.event.trigger(map, 'resize')