How to make a responsive google map from the code
...
I use in css
Here a standard CSS solution + JS for the map's height resizing
CSS
#map_canvas { width: 100%; }
JS
// On Resize $(window).resize(function(){ $('#map_canvas').height($( window ).height());
JsFiddle demo : http://jsfiddle.net/3VKQ8/33/