오픈 모달 모드의 Google지도 및 jquery 2.1.0 라이브러리를 사용하고 있습니다.Google지도가 모달에 완전히로드되지 않습니다.
#main div에 #map을 넣으면 정상적으로 작동합니다. 하지만 #map을 #modal div에 넣으면 완전히로드되지 않습니다. 여기
는
<div id="main">
<div class="inner">
<a href="#" id="modal-open">Open</a>
</div>
</div>
<div id="modal">
<div class="inner">
<a href="#" id="modal-close">Close</a>
<div id="map_canvas" style="height:300px; width:600px;"></div>
<!-- The element that will contain our Google Map. This is used in both the Javascript and CSS above. -->
</div>
</div>
내 예제는 여기에 HTML
입니다 : http://www.demiray.co/ex/map.html
답변과 정보에 감사드립니다.하지만 init() 함수를 어떻게 호출 할 수 있습니까? – MehmetDemiray