Fixed flatmap.
This commit is contained in:
parent
ce00242253
commit
e90087390a
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue