HTML Google Maps
A Basic Web Page
Example
<html>
<body>
<h1>My First Google Map</h1>
<div id="map">My map will go here</div>
</body>
<html>
Set the Map Size
Set the size of the map:
Example
<div id="map" style="width:400px;height:400px">
Create a Function to Set The Map Properties
Example
var mapOptions = {
center: new google.maps.LatLng(51.5, -0.12),
zoom: 10,
mapTypeId: google.maps.MapTypeId.HYBRID
}
var map = new google.maps.Map(document.getElementById("map"), mapOptions);
}










