JSFiddle - React, Tailwind, and code Playground

by Aissa BOUGUERN

HTML

<script src="https://maps.googleapis.com/maps/api/js?sensor=false"></script>
  	
		<div id="map" style="width: 600px; height: 400px;"></div>

JavaScript

function initialize() {
	      	var mekkah = new google.maps.LatLng(21.424830,39.823201);
	        var mapOptions = {
	          center: new google.maps.LatLng(21.42,39.82),
	          zoom: 8
	        };
	        var map = new google.maps.Map(document.getElementById('map'),
	            mapOptions);
	      }
      	google.maps.event.addDomListener(window, 'load', initialize);