pull/1581/head
marko 2022-02-17 18:49:03 -05:00
parent caf8bc3e47
commit 3944dbf013
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ exports.latLonToXY = function(lat, lon) {
var cx = g.getWidth()/2;
var cy = g.getHeight()/2;
return {
x : cx + (lon-m.lon)/max.dlonpx,
x : cx + (lon-m.lon)/map.dlonpx,
y : cy - (lat-m.lat)/map.dlatpx
};
};