JSFiddle - React, Tailwind, and code Playground
HTML
<title>Simple Map</title>
<script src="https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false"></script>
<body>
<div id="map-canvas"></div>
</body>
CSS
html, body, #map-canvas {
height: 90%;
margin: 0px;
padding: 0px
}
img[src="http://i.stack.imgur.com/su8w5.png"] {
background-color: black;
}
JavaScript
var mapOptions = {
zoom: 8,
center: new google.maps.LatLng(-34.397, 150.644)
};
map = new google.maps.Map(document.getElementById('map-canvas'),
mapOptions);
var marker = new google.maps.Marker({
position: new google.maps.LatLng(-34.397, 150.644),
map: map,
optimized: false,
icon: "http://i.stack.imgur.com/su8w5.png"
});