JSFiddle - React, Tailwind, and code Playground
by Sebastian Kay
HTML
<script src="https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false"></script>
<div id="map1">
</div>
<p>
bla bla
</p>
CSS
html, body, #map1 {
height: 100%;
margin: 0px;
padding: 0px
}
JavaScript
function initialize() {
var mapOptions = {
zoom: 16,
center: new google.maps.LatLng(52.5498783, 13.425209099999961),
mapTypeId: google.maps.MapTypeId.SATELLITE
};
map = new google.maps.Map(document.getElementById('map1'), mapOptions);