Goople Maps API playground

by Angelos Chaidas

HTML

<script src="https://maps.googleapis.com/maps/api/js"></script>
<div id="map"></div>

CSS

#map {
    width: 1120px;
    height: 540px;
    background: white;
}

JavaScript

function initMap() {
    console.log('Loading map...');
    var map = new google.maps.Map(document.getElementById('map'), {
        zoom: 4,
        center : new google.maps.LatLng(37.98,23.7)
    });

}

initMap();