OP's solution to their own problem, quoted and reformatted from the comments:

I changed the map style to:

#map {
  width: 100%;
  height: 100%;

The style of the contour layer got modified like this:


x and y coordinates of the SVG paths have to be shifted by +4000px to compensate.

Related Query

More Query from same tag