mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-12-29 12:07:41 +01:00
Fixed flatmap.
This commit is contained in:
parent
ce00242253
commit
e90087390a
@ -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);
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user