{{theTime}}

Search This Blog

Total Pageviews

How to add a Google Map to your web page?

<!DOCTYPE html>
<html>
<body>

<h1>Learning HTML:  Add Google Map to your web page</h1>

<div id="mapid" style="width:800px;height:800px;background:blue"></div>

<script>
function loadMap() {
    var options = {
        center: new google.maps.LatLng(11.5, -0.53),
        zoom: 10,
        mapTypeId: google.maps.MapTypeId.HYBRID
    }
var map = new google.maps.Map(document.getElementById("mapid"), options);
}
</script>


</body>
</html>

No comments:

Cucumber Eclipse sample program

Cucumber Eclipse SetupCreate Eclipse Maven Project Open pom.xml Goto Dependencies Add GroupId: info.cukes, Artifact Id: cucumber-java, Versi...