| Server IP : 103.234.187.230 / Your IP : 216.73.216.216 Web Server : Apache System : Linux lserver42043-ind.megavelocity.net 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64 User : apache ( 48) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/html/b2bzend/ |
Upload File : |
<!DOCTYPE html>
<html>
<head>
<title>Google Maps API Example</title>
<style>
#map {
height: 400px;
width: 100%;
}
</style>
</head>
<body>
<h3>My Google Maps Example</h3>
<div id="map"></div>
<!-- Load the Google Maps script and call initMap after the HTML has loaded -->
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyDMc-dzKR8QpYdNtcux9ZZ-Lb_ECc4cfAc&callback=initMap" async defer></script>
<script>
function initMap() {
const options = {
zoom: 8,
center: { lat: 40.7128, lng: -74.0060 }
};
const map = new google.maps.Map(document.getElementById("map"), options);
const marker = new google.maps.Marker({
position: { lat: 40.7128, lng: -74.0060 },
map: map,
title: "New York City"
});
}
</script>
</body>
</html>