'How do a remove one of the two copyright notices on Google Maps?

Google maps appears to show "Map data ©2018 Google" twice in maps:

Embedded map with duped copyright notice

Both notices are identical text and neither can be scrolled out of view, but the one on the left is fixed in the canvas, while the one on the right is a DOM element floating on top of the map.

Why both? And how can I turn one off? Surely a single notice is sufficient?

Please note that I am not trying to remove Google's copyright or hack the content. When I see the Maps API used on other sites there is a single copyright notice, for instance:

Just one on another site

Why do they have 1 and I have 2?

Sample code, note repeated copyright...

#wrapper {
  height: 180px;
  width: 100%;
  border: dotted 1px green;
}
<div id=wrapper></div>
<script>
  function initMap() {
    const wrapper = document.getElementById('wrapper');
    const shadow = wrapper.attachShadow({
      mode: 'open'
    });

    const mapDiv = document.createElement('div');
    mapDiv.style.height = '180px';
    mapDiv.style.border = 'dotted 1px red';
    shadow.append(mapDiv);


    const options = {
      center: {
        lat: 51.51,
        lng: -0.08
      },
      zoom: 14,
      keyboardShortcuts: false,
      streetViewControl: false,
      mapTypeControl: false,
      mapTypeId: google.maps.MapTypeId.ROADMAP,
      styles: [{
        featureType: 'poi',
        elementType: 'labels',
        stylers: [{
          visibility: 'off'
        }]
      }]
    };

    const map = new google.maps.Map(mapDiv, options);
  }
</script>
<script src="https://maps.googleapis.com/maps/api/js?callback=initMap"></script>


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source