没有标记和信息窗口的融合表层

Fusion Tables Layer without markers & infowindows

我正在使用 Fusion Tables Layer 为世界上所有国家上色。不幸的是也有标记。当我点击一个国家时,会显示一个信息 window。

我只希望多边形为国家着色,而不是标记和信息window。我怎样才能阻止那些显示。

我使用了图层选项:'suppressInfoWindow: true',但这似乎不起作用。

我创建了一个codepen example
我的融合table可以找到here

var layer = new google.maps.FusionTablesLayer({
  map: map,
  query: {
    select: '\'geometry\'',
    from: '1czcJKrnxMfRHNlHcMd1C0OjhprGb2pxNS8YjNUvr'
  },
  styles: [{
    polygonOptions: {
      fillColor: '#FF0000',
      fillOpacity: 1,
      strokeOpacity: '0',
      strokeWeight: '0'
    }
  }],
  suppressInfoWindow: true
});

你打错了。 suppressInfoWindow: true 应该是 suppressInfoWindows: true