January 1, 2013

Google Map for your web page

Google Map for your web page <script type=”text/javascript” src=”http://maps.google.com/maps/api/js?sensor=false”></script> <script type=”text/javascript”> function load_google_map(lat, long, target) { var myLatlng = new google.maps.LatLng(lat, long); var myOptions = { zoom: 6, center: myLatlng, mapTypeId: google.maps.MapTypeId.ROADMAP} var map = new google.maps.Map(document.getElementById(target), myOptions); var marker1 = new google.maps.Marker({ position: new google.maps.LatLng(lat, long), map: map, title: $(‘.locations_address’).html() }); var infowindow = […]