Skip to content

Conversation

@dustinmichels
Copy link

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!

Possible documentation fix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant