narendrasinghrathore
Posts: 8
Joined: Tue Mar 16, 2021 7:02 am

Re-render drilldown map on external event

We pass data from parent to child component, so when we select county in drilldown map it will fire event back to parent component where it update the selected counties array and return the updated data to child component.

Scenario
Country -> click to drilldown down -> State with showing pre-selected counties -> click on county will trigger event to parent and in return parent will return updated set of selected counties which we need to update on the drilldown state map with selection.

It can vice versa where we have counties available as list on parent component and on click on county we need to update the drilldown map if that given state is open, hope you got the point.


Please let me know how we can hook in and update the map with updated selection.

Waiting for response asap.
User avatar
sebastian.h
Posts: 1734
Joined: Fri Aug 07, 2020 7:08 am

Re: Re-render drilldown map on external event

Hi narendrasinghrathore,

Could you show me your point on this example demo?
Sorry but I don't understand what you want to do, please try to explain with the example below.

Live demo:
https://jsfiddle.net/gh/get/library/pur ... -drilldown

I'm waiting for news from you.
Best regards.
Sebastian Hajdus
Highcharts Developer

Return to “Highcharts Maps”