I have a map that displays in a Bootstrap modal. The map is set to 100% of its container. Since it loads before the modal is made visible, the map assigns its containing div a css width and height of 400px. Since I am creating the map (but NOT the modal), I need to know what event or set of circumstances I need to wait for in order to properly initialize the map. If it is possible to re-initialize or have the map reset its values after an improper initialization I would like to know how to do that, too. To be clear, I cannot use the Bootstrap shown.bs.modal event, since the map cannot know about how it is shown (but it can, of course, inspect the DOM, so it might know something about where it is displayed). Any insights at all would be helpful.