Skip to content

Commit

Permalink
changed tile resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
itzmeanjan committed Apr 13, 2019
1 parent a5c7032 commit c88cab0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions map_tile_renderer.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def input_validator():
except ValueError as e:
print('[!]Error : {}'.format(str(e)))
return ()
if((init_zoom_lvl < 0 or init_zoom_lvl > 10) or (max_zoom_lvl < 0 or max_zoom_lvl > 10)):
if((init_zoom_lvl < 0 or init_zoom_lvl > 18) or (max_zoom_lvl < 0 or max_zoom_lvl > 18)):
print('[!]Zoom level value should be in range of 0 to 10')
return ()
for i in range(init_zoom_lvl, max_zoom_lvl+1):
Expand Down Expand Up @@ -105,7 +105,7 @@ def app(tile_width, tile_height):
if __name__ == '__main__':
run('clear')
try:
app(256, 144)
app(256, 128)
except KeyboardInterrupt:
print('\n[!]Terminated')
finally:
Expand Down

0 comments on commit c88cab0

Please sign in to comment.