{{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:

Best Client Optimized Programming Language for Mobile Development?

Use Google's Dart language, which is Object-oriented, class-based and garbage-collected language with C-Style.  Dart can compile to eith...