Closed kHRISl33t closed 5 years ago
As I saw in previous issue comments, you should be able to use iso-2 codes under properties. But for me properties only contains name which is the full name and nothing else and id contains the ISO-3 code.
properties
name
id
{(geographies, projection) => geographies.map(geography => { console.log('id', geography.id) console.log('properties', geography.properties) })}
Am I missing something obvious? :) I'm using world-50m.json topojson.
world-50m.json
Nevermind, it was my fault! Somehow the json was not loaded properly.
As I saw in previous issue comments, you should be able to use iso-2 codes under properties. But for me
properties
only containsname
which is the full name and nothing else andid
contains the ISO-3 code.Am I missing something obvious? :) I'm using
world-50m.json
topojson.