The google map is not showing up on my site.
Code:
<div class="row"> //O ERRO OCORRE QUANDO INCLUO A DIV MAP DENTRO DESSA DIV ROW
<div id="map" class="col-6"></div>
<div class="col-6">teste</div>
</div>
<script>
var map;
function initMap() {
map = new google.maps.Map(document.getElementById('map'), {
center: {lat: -8.607014, lng: -35.951444},
zoom: 15
});
}
</script>
<script src="https://maps.googleapis.com/maps/api/js?key=XXXXX&callback=initMap" async defer></script>
If I do not use the ROW div, the map appears normally, but since I want to split the screen into two parts, I want to do it the way it is above.
Any tips?