<!DOCTYPE html>
<
html
>
<
head
>
<
script
src
=
</
script
>
<
script
>
function GFG() {
var CustomOp = {
center: new google.maps.LatLng(28.502212, 77.405603),
zoom: 17,
};
// Map object
var map = new google.maps
.Map(document.getElementById("DivID"), CustomOp);
var marker = new google.maps.Marker({
position: new google.maps.LatLng(28.502211, 77.405512),
map: map,
draggable: true,
icon:
});
marker.setMap(map);
var infowindow = new google.maps.InfoWindow({
content: "5th Floor, A-118,Sector-136,"+
" Noida, Uttar Pradesh - 201305",
});
infowindow.open(map, marker);
}
</
script
>
</
head
>
<
body
onload
=
"GFG()"
>
<
center
>
<
h1
style
=
"color: green;"
>GeeksforGeeks</
h1
>
<
h3
>Google Maps Info Windows</
h3
>
<
div
id
=
"DivID"
style
=
"width: 400px; height: 300px;"
></
div
>
</
center
>
</
body
>
</
html
>