datamaps icon indicating copy to clipboard operation
datamaps copied to clipboard

Link to country code when click on country

Open k-msalehi opened this issue 6 years ago • 1 comments

I've read this issue https://github.com/markmarkoh/datamaps/issues/433. but is there a way to link to country code? something like this:

link = geography.properties.code;
location.href = link;

k-msalehi avatar Dec 14 '18 15:12 k-msalehi

The three letter country code is accessible via geography.id

jpstotz avatar Jun 15 '20 14:06 jpstotz