0
This commit is contained in:
Andrew Chin
2012-08-01 21:58:13 -04:00

View File

@@ -41,7 +41,7 @@ overviewer.collections = {
/** /**
* holds a reference to the spawn marker. * holds a reference to the spawn marker.
*/ */
'spawnMarker': null, 'spawnMarker': null
}; };
overviewer.classes = { overviewer.classes = {
@@ -86,7 +86,7 @@ overviewer.gmap = {
if(tile.x < 0 || tile.x >= Math.pow(2, zoom) || if(tile.x < 0 || tile.x >= Math.pow(2, zoom) ||
tile.y < 0 || tile.y >= Math.pow(2, zoom)) { tile.y < 0 || tile.y >= Math.pow(2, zoom)) {
url += '/blank'; url += '/blank';
} else if(zoom == 0) { } else if(zoom === 0) {
url += '/base'; url += '/base';
} else { } else {
for(var z = zoom - 1; z >= 0; --z) { for(var z = zoom - 1; z >= 0; --z) {
@@ -100,6 +100,6 @@ overviewer.gmap = {
url += '?c=' + overviewerConfig.map.cacheTag; url += '?c=' + overviewerConfig.map.cacheTag;
} }
return(urlBase + url); return(urlBase + url);
} };
} }
}; };