JSFiddle - React, Tailwind, and code Playground

HTML

<script src="http://maps.google.com/maps/api/js?sensor=false"></script>
<div id="map" data-co="-41.286713, 174.773063"></div>

CSS

#map
{
  width: 365px;
  height:190px;
}

JavaScript

$(function (){

	var co = $("#map").data("co");
	var map;
	var myLatlng = new google.maps.LatLng(co);
	var mapOptions = {
		center: myLatlng,
		zoom: 4
	}; 
	map = new google.maps.Map(document.getElementById("map"), mapOptions);
	var marker = new google.maps.Marker({
		position: myLatlng,
		map: map,
		title: 'title',
		icon: 'http://www.richardgrantham.com/img/marker.png'
	});
});