body { height: 100%; margin: 0; padding: 0 }
.content { height: 100%; }
#map_canvas { height: 100% }
background: rgba(0,0,0,0.6);
border-color: #424D56 rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);
<script src="http://maps.googleapis.com/maps/api/js?key=AIzaSyCnUOdTsQ4gLFNNIRBP7B76103emSzjpxk&sensor=false"></script>
<section class="content">
<div id="map_canvas"></div>
google.maps.visualRefresh = true;
var geocoder = new google.maps.Geocoder();
var position = new google.maps.LatLng(21.0000, 78.8718);
featureType: 'administrative.country',
featureType: 'landscape',
mapTypeId: google.maps.MapTypeId.ROADMAP,
style: google.maps.ZoomControlStyle.SMALL
var map = new google.maps.Map(document.getElementById("map_canvas"), mapOptions);
geocoder.geocode( { 'address': address }, function(results, status) {
if (status == google.maps.GeocoderStatus.OK) {
map.setCenter(results[0].geometry.location);
alert('Geocode was not successful for the following reason: ' + status);
var bounds = results[0].geometry.viewport;
map.setOptions({ zoom: 4 });
var image = new google.maps.MarkerImage(
'http://maps.google.com/mapfiles/ms/micons/blue-dot.png',
new google.maps.Size(32, 32),
new google.maps.Point(0, 0),
new google.maps.Point(0, 0)
var homeMarker = new google.maps.Marker({
title: "Check this cool location",
shadow: "http://maps.google.com/mapfiles/ms/micons/msmarker.shadow.png"
google.maps.event.addDomListener(window, 'load', initialize);