Closed OleksandrMalinin closed 11 months ago
Hi @OleksandrMalinin, thanks for reporting this issue! I will transfer it to the map-collection repository, since this does not relate to Highcharts code, but to map itself.
This is something that could be changed via series data like in this demo: https://jsfiddle.net/BlackLabel/jq2edmw5/
Relevant code parts:
const data = [
['ua-my', 110, 'Odesa'], ['ua-ks', 11], ['ua-kc', 112, 'Kyiv City'], ['ua-zt', 13],
['ua-sm', 14], ['ua-dt', 15], ['ua-dp', 16], ['ua-kk', 17],
['ua-lh', 18], ['ua-pl', 19], ['ua-zp', 20], ['ua-sc', 21],
['ua-kr', 22], ['ua-ch', 23], ['ua-rv', 24], ['ua-cv', 25],
['ua-if', 26], ['ua-km', 27], ['ua-lv', 28], ['ua-tp', 29],
['ua-zk', 30], ['ua-vo', 31], ['ua-ck', 32], ['ua-kh', 33],
['ua-kv', 134, 'Kyiv'], ['ua-mk', 35], ['ua-vi', 36]
];
dataLabels: {
enabled: true,
format: '{#if point.custom.name}{point.custom.name}{else}{point.name}{/if}'
}
As far as I can check those are alternative spellings. If you have an official source that could be linked claiming that the used names are wrong and should be changed please share and I could reopen the issue.
Closing as resolved.
Product version
Highmaps https://code.highcharts.com/mapdata/countries/ua/ua-all.topo.json
Live demo with steps to reproduce
https://jsfiddle.net/gh/get/jquery/1.11.0/highslide-software/highcharts.com/tree/master/samples/mapdata/countries/ua/ua-all
Expected behaviour
Actual behaviour