Expand maximum zoom level from 16 to 32

This commit is contained in:
Mike Primm 2022-03-10 02:24:27 -06:00
parent 042f387ecf
commit aec1f0cdb6
7 changed files with 7 additions and 7 deletions

View file

@ -237,7 +237,7 @@ var DynmapTileLayer = L.TileLayer.extend({
// Some helper functions.
zoomprefix: function(amount) {
return 'zzzzzzzzzzzzzzzzzzzzzz'.substr(0, amount);
return 'zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz'.substr(0, amount);
},
getTileInfo: function(coords) {

View file

@ -48,7 +48,7 @@ var HDMapType = DynmapTileLayer.extend({
// amount == 0 -> ''
// amount == 1 -> 'z_'
// amount == 2 -> 'zz_'
return 'zzzzzzzzzzzzzzzzzzzzzz'.substr(0, amount) + (amount === 0 ? '' : '_');
return 'zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz'.substr(0, amount) + (amount === 0 ? '' : '_');
}
});