owid-grapher
owid-grapher copied to clipboard
Map chart: Cyprus not visible in Europe map projection with narrow viewport
Description
When viewing a map projection set to Europe, and using a narrow viewport, Cyprus is not visible in the map chart.
Steps to reproduce
Steps to reproduce the behavior:
- Go to https://ourworldindata.org/grapher/life-expectancy?region=Europe
- Shrink the browser window to a narrow viewport
Screenshots
Wide viewport:
Narrow viewport:
Under the assumption that this is just about finding and changing a few coordinates for the narrow version of the map, then this seems worth doing and should only take a few hours.
If it takes longer than a day, we should abort and call it "won't fix".
The solution is probably around these settings here: https://github.com/owid/owid-grapher/blob/master/grapher/mapCharts/MapProjections.ts#L71