From e90087390a4f2c7fa29ed48bfde499981ca28e22 Mon Sep 17 00:00:00 2001 From: FrozenCow Date: Wed, 27 Jul 2011 17:07:28 +0200 Subject: [PATCH] Fixed flatmap. --- web/js/flatmap.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/js/flatmap.js b/web/js/flatmap.js index 1694c0e0..ad2c8a9a 100644 --- a/web/js/flatmap.js +++ b/web/js/flatmap.js @@ -1,8 +1,8 @@ var FlatProjection = DynmapProjection.extend({ fromLocationToLatLng: function(location) { return new L.LatLng( - -location.z / (8 << this.options.mapzoomout), - location.x / (8 << this.options.mapzoomout), + -location.z / (1 << this.options.mapzoomout), + location.x / (1 << this.options.mapzoomout), true); } });