yaph / d3-geomap

A library for creating geographical maps based on D3.js
https://d3-geomap.github.io/
MIT License
132 stars 45 forks source link

remove white spaces from unit names #56

Closed geraldo closed 5 years ago

geraldo commented 5 years ago

Removing white spaces makes it possible to use unit names. This makes it possible to use property "name" in topojson files instead of "fips" as discussed in issue #55.

geraldo commented 5 years ago

Indeed using an underscore is more safe, rerolled the pull request.

yaph commented 5 years ago

Sorry, I should have kept the \s instead of the literal space character, can you update the PR again.

yaph commented 5 years ago

Thanks for your contribution Gerald!