Closed
Description
Expected behaviour
The data module does not remove the first 0 in the fips code and the map renders correctly
Actual behaviour
The data module removes the first 0 in the fips code and the map does not render any of its points.
An example of a fips code in the Alabama map: 01007
The data module seems to be removing the first 0 in the codes, and so Highmaps cant find the right code to link to.
If you log mapKey and mapMap in the line I've linked below, you'll see that the codes do not match. I assume the data module is doing some custom parsing before it gets to this point and the 0 is getting removed because of it.
https://github.com/highcharts/highcharts/blob/master/ts/Series/Map/MapSeries.ts#L1057
Live demo with steps to reproduce
https://jsfiddle.net/vf2yeL5g/
Product version
Latest
Metadata
Metadata
Assignees
Type
Projects
Status