google / google-visualization-issues

288 stars 35 forks source link

GeoCharts 'black regions' #2486

Open ignaciosanz opened 7 years ago

ignaciosanz commented 7 years ago

Hi there,

When using the GeoCharts API it seems there are some bugs which make some regions of the map black. These regions seem to be north of India. You can see this just by running the example code from your website. If you run the example code using JSFiddle the effects of the bugs don't show up. If you run that same code as a regular HMTL file using Chrome (or any browser) then the errors will show up.

Here is the example code from your website:

  google.charts.load('current', {'packages':['geochart']});
  google.charts.setOnLoadCallback(drawRegionsMap);

  function drawRegionsMap() {

    var data = google.visualization.arrayToDataTable([
      ['Country', 'Popularity'],
      ['Germany', 200],
      ['United States', 300],
      ['Brazil', 400],
      ['Canada', 500],
      ['France', 600],
      ['RU', 700]
    ]);

    var options = {};

    var chart = new google.visualization.GeoChart(document.getElementById('regions_div'));

    chart.draw(data, options);
  }
multiformeingegno commented 7 years ago

This is very annoying. It's happening to me as well. Image attached

map-black-regions

kohterai commented 6 years ago

It's strange I'm experiencing the same problem too in the same region. Also my legend also becomes completely black.

screen shot 2018-02-20 at 16 18 28
WiredUK commented 5 years ago

This is the reason: https://www.quora.com/Why-does-Jammu-Kashmir-and-Arunachal-Pradesh-appear-shaded-in-the-Google-Analytics-Map-of-India