JSFiddle - React, Tailwind, and code Playground

HTML

<script src="https://maps.googleapis.com/maps/api/js?v=3.exp"></script>
    <div id="map-canvas" style="height:200px;width:200px;border: 1px solid black;"></div>
    <div id="map-canvas2" style="height:200px;width:200px;border: 1px solid black;"></div>

JavaScript

var map;
var map2;
function initialize() {
    var mapOptions = {
        zoom: 8,
        center: new google.maps.LatLng(-34.397, 150.644)
    };
    map = new google.maps.Map(document.getElementById('map-canvas'),
                              mapOptions);
    map2 = new google.maps.Map(document.getElementById('map-canvas2'),
                               mapOptions);
}
google.maps.event.addDomListener(window, 'load', initialize);