0

added separate 'zoomLevels' JS config var for marker positioning use (closes #401)

This commit is contained in:
Aaron Griffith
2011-07-31 12:38:19 -04:00
parent ebd3497a5f
commit 30a8b851b6
4 changed files with 17 additions and 9 deletions

View File

@@ -114,6 +114,8 @@ class MapGen(object):
"{minzoom}", str(0))
config = config.replace(
"{maxzoom}", str(zoomlevel))
config = config.replace(
"{zoomlevels}", str(zoomlevel))
config = config.replace("{spawn_coords}",
json.dumps(list(self.world.spawn)))