mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-25 03:35:18 +01:00
Removed debug.
This commit is contained in:
parent
8b40a9761b
commit
fc3c5be36c
@ -1,8 +1,8 @@
|
||||
/* DEBUGGING */
|
||||
.leaflet-tile {
|
||||
/* TILE DEBUGGING */
|
||||
/*.leaflet-tile {
|
||||
margin: -1;
|
||||
border: 1px solid red;
|
||||
}
|
||||
}*/
|
||||
|
||||
|
||||
/*******************
|
||||
|
@ -1,7 +1,6 @@
|
||||
var HDProjection = DynmapProjection.extend({
|
||||
fromLocationToLatLng: function(location) {
|
||||
var wtp = this.options.worldtomap;
|
||||
console.log(wtp);
|
||||
var xx = wtp[0]*location.x + wtp[1]*location.y + wtp[2]*location.z;
|
||||
var yy = wtp[3]*location.x + wtp[4]*location.y + wtp[5]*location.z;
|
||||
var lat = xx / (8 << this.options.extrazoom);
|
||||
|
Loading…
Reference in New Issue
Block a user