datamaps icon indicating copy to clipboard operation
datamaps copied to clipboard

Possible documentation fix regarding "fill"

Open dustinmichels opened this issue 3 years ago • 0 comments

Hello! I tried using fill instead of fillKey as mentioned in the documentation but it didn't work for me.

Didn't work

map.updateChoropleth({USA: {fill: 'green'} })

What did work was to use the color directly, without the fill keyword, similar to an example given lower down in the documentation.

Did work

map.updateChoropleth({USA: 'green'})

Therefore, I'm wondering if this is a mistake in the documentation?

Thanks!

dustinmichels avatar Nov 08 '22 06:11 dustinmichels