Answer the question
In order to leave comments, you need to log in
Why is my google map not working?
This is how she looks
<script>
function initMap() {
var coordinates = {lat: 59.964556, lng: 30.280207},
map = new google.maps.Map(document.getElementById('contacts-map'), {
center: coordinates
}),
marker = new google.maps.Marker({
position: coordinates,
map: map
});
}
</script>
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyD57b1klhTcVUYoGhkOf2h1ck2SKmTvNSQ&callback=initMap" async="" defer=""></script>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question