diff options
Diffstat (limited to 'src/MapView.js')
-rw-r--r-- | src/MapView.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/MapView.js b/src/MapView.js index a08d6b7..44191b0 100644 --- a/src/MapView.js +++ b/src/MapView.js @@ -45,6 +45,7 @@ export class MapGrid { console.log(angle); const point = new Point(radians(angle), 0).normal(); const axis = point.cross(yAxis).normalize(); + console.log(axis); this.longitudes.push(Circle( point, axis, circleDiv )); @@ -52,6 +53,10 @@ export class MapGrid { } render(ct, view) { + ct.beginPath(); + ct.arc(0, 0, 1, 0, 2*Math.PI); + ct.stroke(); + for (let latitude of this.latitudes) { latitude.render(ct, view); } |