JSFiddle - React, Tailwind, and code Playground
HTML
<script src="http://maps.google.com/maps/api/js?sensor=false&.js"></script>
<div id="map_canvas" style="height:500px; width:500px"></div>
JavaScript
var map;
function init()
{
var moptions =
{
center: new google.maps.LatLng(22.669, 77.709),
zoom: 5,
mapTypeId: google.maps.MapTypeId.ROADMAP
}
map = new google.maps.Map(document.getElementById("map_canvas"), moptions);
var icon = new google.maps.MarkerImage("http://www.ipreferjim.com/site/wp-content/uploads/2012/10/markers.png?9d7bd4", new google.maps.Size(35, 36), new google.maps.Point(103, 34));
var mark= new google.maps.Marker({position:new google.maps.LatLng(22.669, 77.709),map:map, icon:icon});
}
window.onload=init;