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

Per-state borderColor/stroke? #436

Open Valid opened 6 years ago

Valid commented 6 years ago

I've already got the states colored, using OR: { fillColor: '#f00' } but I'd really like to customize the border color of states as well. It seems like that can only be set per-map using the geoconfig, but wanted to check if I'm just missing something. Is this possible currently?

Anemy commented 6 years ago

duplicate of https://github.com/markmarkoh/datamaps/issues/364

I'll work on a PR for this, looking at the code it's not much of a change. I'll reference it to here. Code ref: https://github.com/markmarkoh/datamaps/blob/master/src/js/datamaps.js#L213