Fusion tables of dynamic maps strokeOpacity

I changed this example for my map:

https://developers.google.com/fusiontables/docs/samples/dynamic_styling_template

But I want the border opacity to be 0 (so no one sees it). I think I need to do something in this world of code with strokeOpacity: 0.0, but I can't get it to work

// Apply the style to the layer & generate corresponding legend function applyStyle(map, layer, column) { var columnStyle = COLUMN_STYLES[column]; var styles = []; for (var i in columnStyle) { var style = columnStyle[i]; styles.push({ where: generateWhere(column, style.min, style.max), polygonOptions: { fillColor: style.color, fillOpacity: style.opacity ? style.opacity : 0.8 } }); } 
0
source share
2 answers

You watched PolygonOptions

This is perhaps the best you can do:

  strokeOpacity: 0.0001, strokeWeight: 0, strokeColor: style.color, 

example

UPDATE: It looks like strokeOpacity: 0.0 does not work; try something really small, like 0.0001.

0
source

You must set it to 1%, i.e.:

strokeOpacity: 0.01

0
source

All Articles