owid-grapher icon indicating copy to clipboard operation
owid-grapher copied to clipboard

Map chart: Cyprus not visible in Europe map projection with narrow viewport

Open marcelgerber opened this issue 2 years ago • 2 comments

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:

  1. Go to https://ourworldindata.org/grapher/life-expectancy?region=Europe
  2. Shrink the browser window to a narrow viewport

Screenshots

Wide viewport: image

Narrow viewport: image

marcelgerber avatar May 06 '22 21:05 marcelgerber

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".

larsyencken avatar May 17 '22 10:05 larsyencken

The solution is probably around these settings here: https://github.com/owid/owid-grapher/blob/master/grapher/mapCharts/MapProjections.ts#L71

larsyencken avatar May 17 '22 10:05 larsyencken