Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About Mitrovah

  • Rank

Profile Information

  • Location
    North Liberty Iowa
  1. So I have code for a google map window. However I am having trouble figuring out how to make a generic google marker appear on my Long and Lat location. The <div id> tag is at the bottom of the page and I want to figure out how to center it in the page. My second question is how to indent the first line of the first paragraph. this is my Google Map Code: <script src="http://maps.googleapis.com/maps/api/js"></script> <script> function initialize() { var mapProp = { center:new google.maps.LatLng(41.652589,-91.532774), zoom:18, mapTypeId:google.maps.MapTypeId.ROADMAP }; var map=new google.maps.Map(document.getElementById("googleMap"),mapProp); } google.maps.event.addDomListener(window, 'load', initialize); var myLatlng = new google.maps.LatLng(41.652589,-91.532774); var marker = new google.maps.Marker({ position: myLatlng, map: map, }); </script> <div id="googleMap" style="width:500px;height:380px;">
  • Create New...