Removed debug.

This commit is contained in:
FrozenCow 2011-07-18 03:43:13 +02:00
parent 8b40a9761b
commit fc3c5be36c
2 changed files with 3 additions and 4 deletions

View File

@ -1,8 +1,8 @@
/* DEBUGGING */ /* TILE DEBUGGING */
.leaflet-tile { /*.leaflet-tile {
margin: -1; margin: -1;
border: 1px solid red; border: 1px solid red;
} }*/
/******************* /*******************

View File

@ -1,7 +1,6 @@
var HDProjection = DynmapProjection.extend({ var HDProjection = DynmapProjection.extend({
fromLocationToLatLng: function(location) { fromLocationToLatLng: function(location) {
var wtp = this.options.worldtomap; var wtp = this.options.worldtomap;
console.log(wtp);
var xx = wtp[0]*location.x + wtp[1]*location.y + wtp[2]*location.z; 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 yy = wtp[3]*location.x + wtp[4]*location.y + wtp[5]*location.z;
var lat = xx / (8 << this.options.extrazoom); var lat = xx / (8 << this.options.extrazoom);