[ACCEPTED]-google map api v3 background color-google-maps

Accepted answer
Score: 27

You can just set backgroundColor: 'none'

var map = new google.maps.Map(document.getElementById('map'), {
    zoom: 11,
    center: {lat: 41.876, lng: -87.624},
    backgroundColor: 'none'


Score: 8

although you removed everything there still 3 be blank tiles present.

You may try to hide 2 those tiles, the following CSS works for 1 me:

  /*the desired background for the map*/
#map_canvas{background-color:#fff !important}

  /*hides the tiles (and maybe more^^)*/
#map_canvas div div div div div div img{visibility:hidden}

More Related questions