added the long awaited blank image to the output tiles.
This commit is contained in:
@@ -130,6 +130,10 @@ class QuadtreeGen(object):
|
|||||||
with open(os.path.join(self.destdir, "markers.js"), 'w') as output:
|
with open(os.path.join(self.destdir, "markers.js"), 'w') as output:
|
||||||
output.write("var markerData=%s" % json.dumps(self.world.POI))
|
output.write("var markerData=%s" % json.dumps(self.world.POI))
|
||||||
|
|
||||||
|
# Write a blank image
|
||||||
|
blank = Image.new("RGBA", (1,1))
|
||||||
|
blank.save(os.path.join(self.destdir, "tiles", "blank."+self.imgformat))
|
||||||
|
|
||||||
def _get_cur_depth(self):
|
def _get_cur_depth(self):
|
||||||
"""How deep is the quadtree currently in the destdir? This glances in
|
"""How deep is the quadtree currently in the destdir? This glances in
|
||||||
index.html to see what maxZoom is set to.
|
index.html to see what maxZoom is set to.
|
||||||
|
|||||||
Reference in New Issue
Block a user