Skip to content

Commit

Permalink
can render multi-layer tiles now
Browse files Browse the repository at this point in the history
  • Loading branch information
itzmeanjan committed Apr 12, 2019
1 parent 68ee51b commit ab36473
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion map_tile_renderer.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def tile_generator(zoom_lvl, tile_width, tile_height, style_sheet, target_storag
for key, value in tiles.items():
map_obj = Map(tile_width, tile_height,
'+proj=longlat +datum=WGS84 +no_defs ')
if(not format_style_sheet(style_sheet, ['layer1'], 'Parameter', [
if(not format_style_sheet(style_sheet, ['layer1', 'layer2', 'layer3'], 'Parameter', [
'name', 'extent'], '{}, {}, {}, {}'.format(*value), 'tmp.xml')):
return False
print(
Expand Down

0 comments on commit ab36473

Please sign in to comment.