google map in dialog box have bug
google map in dialog box have bug, the navigationControl break.
<html>
<script type="text/javascript">
$(document).ready(function(){
var myOptions = {
zoom: 4,
center: new google.maps.LatLng(-33, 151),
navigationControl: true,
scaleControl: true,
mapTypeId: google.maps.MapTypeId.ROADMAP
}
var map = new google.maps.Map(document.getElementById("dialog"),
myOptions);
$("#dialog").dialog({width:500,height:500});
});
</script>
</head>
<body style="font-size:62.5%;">
<div id="dialog" title="Dialog Title " style="width:500px;height:500px">
</div>
</body>
</html>