highcharts / map-collection-dist

Other
29 stars 37 forks source link

Map name contain "?" character #118

Closed ALevkas closed 4 weeks ago

ALevkas commented 1 year ago

For example, you can see this on the Czech map.

image

in official example https://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/maps/demo/all-maps.

How do I fix this problem? Someone may have already fixed this and have an answer.

KacperMadej commented 1 year ago

Hi @ALevkas

Thank you for reporting the problem. This is a bug with encoding in the map source file. As a workaround, you could provide a list of correct names in the data loaded for the map. Here's a demo showing how to add it (but without the actual correct names): https://jsfiddle.net/BlackLabel/wkoy6mqd/1/

ALevkas commented 1 year ago

Hi @KacperMadej, thank you for the workaround. Maybe you know if this bug will be fixed in the near version?