webdial

Incomplete JS port of moondial.
git clone https://code.literati.org/webdial.git
Log | Files | Refs

commit f42d6792e969a05241983af99f1fba00fcbfb073
parent b4e389489b5e3d928e1afd982d58e375cf3c20fe
Author: Sean Lynch <seanl@literati.org>
Date:   Wed,  7 Sep 2011 22:30:29 -0700

Try 10 instead.

Diffstat:
Mwebdial.js | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/webdial.js b/webdial.js @@ -3,11 +3,11 @@ function WebDial(canvas) { function drawMap() { function lon2x(lon) { - return Math.round((lon + 180.0) * 1000.0); + return Math.round((lon + 180.0) * 10.0); } function lat2y(lat) { - return Math.round((90.0 - lat) * 1000.0); + return Math.round((90.0 - lat) * 10.0); } var ctx = canvas[0].getContext("2d");