title: ASP MVC2 not showing google map on position
body: <p>i am using below code to show google map in asp.net MVC2:</p>
  
  <pre><code> &lt;script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"&gt;&lt;/script&gt;
  
  &lt;script type="text/javascript"&gt;
       $(function () {
           var myLatlng = new google.maps.LatLng(-34.397, 150.644);
           var myOptions = {
               zoom: 8,
               center: myLatlng,
               mapTypeId: google.maps.MapTypeId.ROADMAP
           }
           var map = new google.maps.Map(document.getElementById("map_canvas"), myOptions);
       });
  
  
  
      &lt;/script&gt;
  </code></pre>
  
  <p>and my div is like this:</p>
  
  <pre><code>  &lt;div id="map_canvas" style="width:323; height:207;"&gt;
                              &lt;/div&gt;
  </code></pre>
  
  <p>with above code it was not showing any google map but after referencing below link when i set its opsition:relative to off using firebug then its showing map otherwise not and also not at position where i placed my div but on left:0 and on top:0. please help me to show it on exact position and to make it visible:</p>
  
  <p><a href="https://stackoverflow.com/questions/3344743/asp-net-mvc-2-and-google-maps-javascript-api-version-3">ASP.NET MVC 2 and Google Maps Javascript API Version 3</a></p>
  
  <p>EDIT:
  I am using vs2010</p>