-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Filling for DC doesn't work #43
Comments
In the source I found that for filling DC two "states" are used "DC1" and "DC2". Not sure what "DC1" is doing but "DC2" works for me. I think this should be described in README at least. Or "DC" fill color should be used for both "DC1" and "DC2". |
Also, the title for DC state doesn't work and I don't see ways to set it. |
@shir @gabidavila - Did you notice that DC's cursor style is different than the 50 states? |
DC2 works for filling in the color, but i can't seem to get the onClick handler to work. i even found the dimensions for DC and added them to the data but it still doesn't work. and when you hover over DC it says "blank US states map." this plugin made it super easy to make a clickable US map, but DC being broken complicates things. edit: found a workaround! i filled DC2 for color and used the default onClick function for it. you can change the name for it in dist/index.js in defaultProps. you could directly edit defaultProps more if you wanted to. |
I fill all states with a color including DC but DC stays gray
The text was updated successfully, but these errors were encountered: