markmarkoh / datamaps

Customizable SVG map visualizations for the web in a single Javascript file using D3.js
http://datamaps.github.io
MIT License
3.78k stars 1.01k forks source link

make border highlight thickness uniform around the perimeter #238

Closed listx closed 8 years ago

listx commented 8 years ago

If you go to http://datamaps.github.io/, the 3rd map down (USA map), and hover over California, the border is thicker on the coast than inland adjacent to the other states. This thinner border problem is prevalent in states like Colorado where the border is very thin, or Oklahoma where the top half's border highlight is thicker than the bottom.

This makes highlightBorderWidth not very correct --- some borders will respect the defined with, some will not.

markmarkoh commented 8 years ago

Fixed in 0.4.1