Google Maps Div Bug Api V3

0

My Google Maps, when zoomed "global" and I use draggable, it disappears, as if it were some bug in the div.

  

GLOBAL VISION, WITHOUT USING DRAGGABLE.

     

    

DRAGINGTHEMAPINTHEGLOBALVISION.

CSS CODE:

html,
body,
#map {
    height: 100%;
    margin: 0;
    padding: 0;
}

HTML CODE:

<header></header>

<div id="map"></div>

<main></main>
<footer></footer>

JS CODE:

  const MAP_DOM = document.getElementById('map');
    const GOOGLE_MAPS = new google.maps.Map(MAP_DOM, {
        id: "NeorisMapDefault",
        center: new google.maps.LatLng({lat: -15, lng: -1}),
        zoom: 2,
        disableDefaultUI: true,
        noClear: false,
        mapTypeId: google.maps.MapTypeId.SATELLITE,
        draggable: false,
    });
    
asked by anonymous 26.01.2018 / 16:56

0 answers