()
          .domain([-500, 0, 500])
          .range([-180, 0, 180]);

        var mapZoom = d3.zoom()
          .on("zoom", zoomed);

        var zoomSettings = d3.zoomIdentity
          .translate(250, 250)
          .scale(120);

        d3.select("svg")
            .call(mapZoom)
            .call(mapZoom.transform, zoomSettings);

        function zoomed() {
          var e = d3.event;
          var currentRotate = rotateScale(e.transform.x) % 360;

          projection
            .rotate([currentRot