0

Initial commit for multi-layer rendering.

Hardwired to use all 4 render modes at once. Todo: add config file/commandline argument support.
This commit is contained in:
Xon
2011-03-23 21:42:13 +08:00
parent c700afb012
commit ca36c98641
4 changed files with 569 additions and 438 deletions

View File

@@ -53,7 +53,8 @@ class MapGen(object):
def __init__(self, quadtrees, skipjs=False, web_assets_hook=None):
"""Generates a Google Maps interface for the given list of
quadtrees. All of the quadtrees must have the same destdir,
image format, and world."""
image format, and world.
Note:tiledir for each quadtree should be unique. By default the tiledir is determined by the rendermode"""
self.skipjs = skipjs
self.web_assets_hook = web_assets_hook