JSFiddle - React, Tailwind, and code Playground

by 3rror404

HTML

<div id='map' style='height:500px;width:500px;'></div>

<script type="text/javascript" defer async
            src="https://maps.googleapis.com/maps/api/js?&callback=initMap">
</script>

JavaScript

function initMap() {
  var map = new google.maps.Map(document.getElementById('map'), {
    zoom: 11,
    /*     mapTypeId: google.maps.MapTypeId.ROADMAP,*/
    center: {lat: 52.345617, lng: 1.502666}
  });
}