Skip to content

Commit

Permalink
Northbound should be on the right
Browse files Browse the repository at this point in the history
  • Loading branch information
epall committed Oct 23, 2012
1 parent 028e414 commit 6425b36
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions js/main.js
Expand Up @@ -6,8 +6,8 @@ schedule = undefined;
fastForward = false;

/* drawing positions */
var NORTH_X_POSITION = 150;
var SOUTH_X_POSITION = NORTH_X_POSITION+50;
var SOUTH_X_POSITION = 150;
var NORTH_X_POSITION = SOUTH_X_POSITION+50;

function zeroPadded(num) {
return ('0'+num).slice(-2);
Expand Down Expand Up @@ -266,7 +266,7 @@ function drawMap(mileposts) {
var name = mileposts[i][0];
var miles = mileposts[i][1];

var t = map.text(NORTH_X_POSITION-30, topY+miles*verticalScale, name);
var t = map.text(SOUTH_X_POSITION-30, topY+miles*verticalScale, name);
t.attr('font-size', 14);
t.attr('text-anchor', 'end');

Expand Down

0 comments on commit 6425b36

Please sign in to comment.