Open ziyue5 opened 1 year ago
I am drawing US map and style it with style={{ default: { stroke: '#FAFAFA', strokeWidth: 0.75, outline: 'none' }, hover: { stroke: '#232323', strokeWidth: 2, outline: 'none' }, pressed: { fill: '#345feb', outline: 'none' } }}
style={{ default: { stroke: '#FAFAFA', strokeWidth: 0.75, outline: 'none' }, hover: { stroke: '#232323', strokeWidth: 2, outline: 'none' }, pressed: { fill: '#345feb', outline: 'none' } }}
However, the width of stroke is inconsistent for different states and even for the single state as shown below:
You can see the width of stroke for WY and NE are different. And the width is not consistent for WY. What should I do to fix it? Thanks so much!!
Any update on this ? Same issue here.
Sorry, still no solution
I am drawing US map and style it with
style={{ default: { stroke: '#FAFAFA', strokeWidth: 0.75, outline: 'none' }, hover: { stroke: '#232323', strokeWidth: 2, outline: 'none' }, pressed: { fill: '#345feb', outline: 'none' } }}
However, the width of stroke is inconsistent for different states and even for the single state as shown below:
You can see the width of stroke for WY and NE are different. And the width is not consistent for WY. What should I do to fix it? Thanks so much!!