I got a blue screen when load Google Maps API. Could you answer if there is any problem with these?
Alert message result: http://img829.imageshack.us/img829/9279/soru1k.jpg
Initialize function:
<script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?sensor=false"></script> <script type="text/javascript"> function yukle() { var locations = $.parseJSON({$json}); alert(locations[0]); var latlng = new google.maps.LatLng(locations[0][1], locations[0][2]); var myOptions = { zoom: 7, center: latlng, mapTypeId: google.maps.MapTypeId.ROADMAP }; var map = new google.maps.Map(document.getElementById("map_canvas"), myOptions); } </script> HTML:
<div id="map_canvas" style="width:620px; height:470px"></div> CSS:
<style type="text/css"> #map_canvas { height: 100%; } </style> The result is a blue screen on map: http://imageshack.us/photo/my-images/546/soru3.jpg/