There's no map in the fashion window.
-
In such a block lies (or should lie in g-carta )
<div class="modal-body" style="width:1000px;"> <div id="map-canvas"/></div> </div>
When the window is opened, only the gray background is visible, but when the window recission occurs, it is visible to the map + if the card is placed in a different window. Honestly, I don't know why anyone's been in trouble.
js in case
( function(window, google) {
var options = { center:{ lat:37, lng:37 }, zoom:10 } element = document.getElementById('map-canvas'), map = new google.maps.Map(element,options);
} (window, google))
-
The addition of the X-ray was corrected + the receipt of the mask in a separate method that works on the button that gives the fashion window
function resizeMap() { if(typeof map =="undefined") return; setTimeout( function(){resizingMap();} , 400); }
function resizingMap() { if(typeof map =="undefined") return; var center = map.getCenter(); google.maps.event.trigger(map, "resize"); map.setCenter(center); }