     }
     @ecef2ortho = get_ecef2ortho(@dlat, @dlon, @zoom, w, h)
     for loc in @locations
-      #ctx.fillStyle = '#' + ('00000' + Math.floor(Math.random() * 0x1000000).toString(16)).slice(-6)
+      [cX, cY] = @locCenterOnMap(loc)
       for poly in geodata.locations[loc].paths
         ctx.beginPath()
         ln = 0

  [lat, lon] = geodata.points[i]
  [newlat, newlon] = [(centerY+lat)/2, (centerX+lon)/2]
  geodata.points[i] = [newlat, newlon]



for i in [0...geodata.points.length]
  [lat, lon] = geodata.points[i]

  return (x, y, z) -> [w2 + x * a + y * b, h2 + x * d + y * e + z * f]

#Pre-process geodata
# Move Hawaii and Alaska closer to Mainland, also shrink Alaska
indexes = []
for poly in geodata.locations['HI'].paths
