JSFiddle - React, Tailwind, and code Playground

by grant

HTML

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

JavaScript

var mapDiv = document.getElementById('ma');
    var map;
    var address = "Vilnius, Lithuania";
    var geocoder = new google.maps.Geocoder();
    // Get LatLng information by name
    geocoder.geocode({
        "address": address
        }, function(results, status){
                map = new google.maps.Map(mapDiv, {
                // Center map (but check status of geocoder)
                center: results[0].geometry.location,
                zoom: 8,
                mapTypeId: google.maps.MapTypeId.ROADMAP,
            })
        });