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

java.lang.IllegalArgumentException: Unsupported class file major version 60

- Check the stack trace and version of Java. - Update the correct Java Version to resolve the Exception.