New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HC Maps + Drilldown module - Series are not removed after drilling into one of them #18961
Comments
This bug is not related only to the geoJSON files, but more to the logic of how to handle multiple series while drilling. Simplified demo: https://jsfiddle.net/BlackLabel/m7dw8sqc/ |
I am also having this issue in Highchart V11. The issue could be seen in the following fiddle - |
I have prepared a workaround for this issue. If you want to use it in your project with Highcharts v11.0.1 all you need to do is copy-paste the IIFE function from one of the below demos. Also, in the demo with categorized series, it is necessary to set Simplified demo: https://jsfiddle.net/BlackLabel/u3k0wybo/ Similiar solutions will be used in Drilldown Module for HC Maps. |
#18925, map drill down was broken for GeoJSON maps.
Was first iteration of this issue.
I cannot re-open that ticket.
Expected behaviour
Clicking on state should drill down to sub-state area type view of data.
Actual behaviour
Drilldown occurs then map zooms back out to national view with sub-state delineation visible for state clicked on.
Repeated steps of this drilldown/drillup result in map data breaking.
Live demo with steps to reproduce
Let me know if this should be moved to a new issue. I think this is the same issue as the behavior has not changed at all.
Tested under v11.0.1 and issue persists. Fiddle to reproduce: https://jsfiddle.net/wergeld/3djeg6ov/
Click on Florida as it has data (other states will just have null value counties).
Map does drill down to the state view of the counties then zooms back out to national view.
Click "Sample National" breadcrumb to drill back up to national view
Click on any other state - same issue occurs, but this time the Florida county-level map is visible again.
Click on "Sample National" breadcrumb to drill back up.
Click on another state and "Sample National" breadcrumb to drill back up.
Now map is empty - no longer a choropleth, just has the state outlines.
Product version
HighMaps v11.0.1
Affected browser(s)
Chrome, Edge, Safari all latest versions.
The text was updated successfully, but these errors were encountered: