0

Added defaultzoom config option

This commit is contained in:
CounterPillow
2012-07-15 05:53:15 +02:00
parent c79a646d10
commit 63b72aabaa
4 changed files with 10 additions and 2 deletions

View File

@@ -517,7 +517,7 @@ class TileSet(object):
d = dict(name = self.options.get('title'),
zoomLevels = self.treedepth,
minZoom = 0,
defaultZoom = 1,
defaultZoom = self.options.get('defaultzoom'),
maxZoom = self.treedepth,
path = self.options.get('name'),
base = self.options.get('base'),
@@ -528,6 +528,7 @@ class TileSet(object):
imgextension = self.imgextension,
isOverlay = isOverlay
)
if isOverlay:
d.update({"tilesets": self.options.get("overlay")})