Adding a google map to a metabox, map has inline style height=0 October 20, 2022 by Tarik Billa I had to add #map-canvas { height:100%!; } to my stylesheet.