0

Add option to configure maxzoom and appropriate documentation

This commit is contained in:
Thomas Lake
2012-11-21 21:28:45 +00:00
committed by Andrew Chin
parent c6d7a6d8fd
commit 223b326df1
4 changed files with 15 additions and 3 deletions

View File

@@ -519,7 +519,7 @@ class TileSet(object):
zoomLevels = self.treedepth,
minZoom = 0,
defaultZoom = self.options.get('defaultzoom'),
maxZoom = self.treedepth,
maxZoom = self.options.get('maxzoom', self.treedepth),
path = self.options.get('name'),
base = self.options.get('base'),
bgcolor = bgcolorformat(self.options.get('bgcolor')),