You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<style>
/* Set the size of the div element that contains the map */
#map {
height: 400px; /* The height is 400 pixels */
width: 100%; /* The width is the width of the web page */
}
</style>
My Google Maps Demo
<script>
// Initialize and add the map
function initMap() {
// The location of Starkville
var starkville = {lat: 33.451, lng: -88.834};
// The map, centered at Starkville
var map = new google.maps.Map(
document.getElementById('map'), {zoom: 8, center: starkville});
// The marker, positioned at Starkville
var marker = new google.maps.Marker({position: starkville, map: map});
}
</script>
<script async defer
src="https://maps.googleapis.com/maps/api/js?key=AIzaSyBo06wLVaJdmOdXeeS_MoAYn3-GiqusDhM&callback=initMap">
</script>