0

added center to config.js, lets you set map center in world coords

By default, it is set to spawn. Also I changed defaultZoom to 2, which
looks better (the world used to show up as *tiny* by default).
This commit is contained in:
Aaron Griffith
2011-03-29 05:48:40 -04:00
parent 9b36d21c37
commit 9c25c6259c
4 changed files with 14 additions and 3 deletions

View File

@@ -2,8 +2,11 @@
var config = {
fileExt: '{imgformat}',
tileSize: 384,
defaultZoom: 1,
defaultZoom: 2,
maxZoom: {maxzoom},
// center on this point, in world coordinates, ex:
//center: [0,0,0],
center: {spawn_coords},
cacheMinutes: 0, // Change this to have browsers automatically request new images every x minutes
bg_color: '#1A1A1A',
debug: false