map.js
/*
 * Draws the map canvas on the actual one
 */
Draws the map canvas on the actual one
Draws the map canvas on the actual one
function drawMap() {
	domContext.drawImage(mapCanvas,
	        0, 0, mapCanvas.width, mapCanvas.height,
	        viewport.x, viewport.y, viewport.width, viewport.height);
}
function drawMap ( ) { domContext . drawImage ( mapCanvas , 0 , 0 , mapCanvas . width , mapCanvas . height , viewport . x , viewport . y , viewport . width , viewport . height ) ; }
Draws the map canvas on the actual one
Draws the map canvas on the actual one