gopu
Posts: 1
Joined: Thu Dec 29, 2022 7:02 am

Can we use higharts map drilldown for countries othern than USA

Hi,
I am trying to implement highcharts map drilldown for India country. Following the document https://www.highcharts.com/demo/maps/map-drilldown is working fine for the USA country. But replacing US with IN, it's rendering India country. Then while clicking any state it throws a 403 error. Sample error URL called https://code.highcharts.com/mapdata/cou ... .topo.json. Can anyone suggest how to use any other countries' drilldown other than the USA?
User avatar
dawid.d
Posts: 807
Joined: Thu Oct 06, 2022 11:31 am

Re: Can we use higharts map drilldown for countries othern than USA

Hi,

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

This error occurs because during the drilldown another map describing the area should be displayed. Without major complications, it works for the USA or, for example, Germany (as in the demo below) because they have separate maps for their regions. Highcharts does not have maps of Indian regions by default, so to use them in drilldown you have to create them yourself.

Demo: https://jsfiddle.net/BlackLabel/e2bodfn7/

I hope you will find it useful
Best regards!
Dawid Draguła
Highcharts Developer

Return to “Highcharts Maps”