ErikBuroy
Posts: 1
Joined: Wed May 05, 2021 10:14 am

Regigin codes used in hc-key property

I need to assign values to region/county in nordic countries. That works well, but I can't figure out what standard You are using for the kc-key property.
They are not the same as ISO 3166-2.


1) Is there some sort of API I can get translations or do I have to create translation data tables in my database to do this?

2) Where do the hc-key values come from?
User avatar
sebastian.h
Posts: 1734
Joined: Fri Aug 07, 2020 7:08 am

Re: Regigin codes used in hc-key property

Hi,
Welcome to our forum and thanks for contacting us with your question!

I refer to these topics, there you will find the answers:
https://github.com/highcharts/highcharts/issues/5105
viewtopic.php?f=14&t=44694

If you have any more questions, you can reach me any time.
Best regards.
Sebastian Hajdus
Highcharts Developer

Return to “Highcharts Maps”