datamaps
datamaps copied to clipboard
Possible documentation fix regarding "fill"
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!