Google Map API V3の動的ロード モンキーパッチ
http://d.hatena.ne.jp/qaz76/20100904/1283610660
の対策...
...案1
setTimeout以外で
<div id="map_canvas" style="width:600px; height:200px;"></div> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script> <script> (function($) { var write = document.write; document.write = function(a) { $.getScript("http://maps.gstatic.com/intl/ja_ALL/mapfiles/api-3/2/3/main.js", function(){ var myOptions = { zoom: 8, center: new google.maps.LatLng(35.5, 140.0), mapTypeId: google.maps.MapTypeId.ROADMAP }; new google.maps.Map($("#map_canvas").get(0), myOptions); }); }; })(jQuery); </script> <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>
こんなモンキーパッチはやりたくないです;