trademapper / trademapper-js

JS libraries for mapping trade using d3.js
Other
26 stars 18 forks source link

Fix missing mapping country codes to verbose names #37

Open willowo opened 9 years ago

willowo commented 9 years ago

Relates to existing issue [Mapping country codes to verbose names #8]

Some countries do not display the full verbose name in the drop down filters (such as BB (Barbados), BH (Bahrain), HK (Hong Kong). It still draws the arrow on the map for these countries, but for some reason it does not give the full name. Some countries which no longer exist (e.g. East Germany) will not draw and that is fine. image

foobacca commented 9 years ago

BB, BH and HK do not appear in the map data - however they do appear in countrycentre.js which I got from google instead. The countrycentre.js does have a name field, so we could change to getting the country name from that file instead.