MartinP460 / react-denmark-map

Customizable plug-and-play map of Denmark for visual presentation🗺️
https://react-denmark-map.vercel.app/
MIT License
20 stars 4 forks source link

Egedal kommune has apparently sunk beneath the waves #50

Closed danskal closed 6 months ago

danskal commented 6 months ago

Description

Egedal Kommune appears as white, like water.

Expected behavior

Egedal should appear like any other Kommune.

Actual behaviour

Although you can see the population, the kommune is white, so it looks like a lake or fjord.

How to reproduce

Steps to reproduce the behavior:

https://react-denmark-map.vercel.app/demo

Specifications

danskal commented 6 months ago

The bug is caused by an extra "." in this line:

https://github.com/MartinP460/react-denmark-map/blob/87789522d2d9550e50ea7f26a3520f3d5a42ebc3/apps/demo/components/examples/MunicipalitiesExample.tsx#L153

But it also points to a potential colouring issue, where low-population kommunes (if such exist) might appear as water.