Google Map doesn't up at this website, http://165.232.77.75:8080/contact.html. It doesn't load up properly though I already replace the real API key. I even already configured properly in Restrict and rename API key at Google Cloud Platform. Btw, this is simple static site. It has nothing to do with backend & database. Here's my code:
<script>
function initMap() {
var uluru = {
lat: -25.363,
lng: 131.044
};
var grayStyles = [{
featureType: "all",
stylers: [{
saturation: -90
}, {
lightness: 50
}]
}, {
elementType: 'labels.text.fill',
stylers: [{
color: '#ccdee9'
}]
}];
var map = new google.maps.Map(document.getElementById('map'), {
center: {
lat: -31.197,
lng: 150.744
},
zoom: 9,
styles: grayStyles,
scrollwheel: false
});
}
</script>
<script async defer src="https://maps.googleapis.com/maps/api/js?key=AIzaSyBQSuGVy_L5m4vVVI55pm_X8I1Y0MDk72s&callback=initMap" type="text/javascript"></script>
And, images of messages, "Oops! Something went wrong. This page didn't load Google Maps correctly. See the JavaScript console for technical details." at the website and also images of Restrict and rename API key.