JSFiddle - React, Tailwind, and code Playground

by Johan Muller

HTML

<script type="text/javascript" src="//maps.googleapis.com/maps/api/js?v=3&amp;sensor=false"></script>

<div id="map">

</div>

CSS

#map {
    width:500px;
    height: 500px;
    background: orange;
}

JavaScript

var map = new google.maps.Map(document.getElementById('map'), {
      center: {lat: -34.397, lng: 150.644},
      zoom: 8
     });