Try
<div class="map-container">
<div class="b-map-content" id="map-content"></div>
<div class="temp"></div>
</div>
When Google Maps initializes, I am guessing that it removes all inner elements within id="map-content"
, which is why you are seeing the flash of red.
1
solved DIV on Google map [closed]