you must change API key, this one is from W3 schools

<!DOCTYPE html>

<html>

<body>

 

<h1>My First Google Map</h1>

 

<div id="map" style="width:400px;height:400px;background:yellow"></div>

<div id="map2" style="width:400px;height:400px;background:yellow"></div>

<script>

function myMap() {

var mapOptions = {

    center: new google.maps.LatLng(33.5, -5.12),

    zoom: 10,

    mapTypeId: google.maps.MapTypeId.HYBRID

}

var mapOptions2 = {

    center: new google.maps.LatLng(40.5, -5.12),

    zoom: 10,

    mapTypeId: google.maps.MapTypeId.HYBRID

}

var map = new google.maps.Map(document.getElementById("map"), mapOptions);

var map2 = new google.maps.Map(document.getElementById("map2"), mapOptions2);

}

</script>

 

 

 

<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyBu-916DdpKAjTmJNIgngS6HL_kDIKU0aU&callback=myMap"

></script>

 

</body>

</html>