Use the greater width of image-container or map-container to keep the map from getting resized inappropriately on orientation change or browser size change.