min_width can be none
This commit is contained in:
parent
0937b078f1
commit
22bdd340eb
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ class MapRenderer:
|
|||
self.scale = scale
|
||||
self.access_permissions = set(access_permissions) if access_permissions else set()
|
||||
self.full_levels = full_levels
|
||||
self.min_width = min_width/self.scale
|
||||
self.min_width = min_width/self.scale if min_width else None
|
||||
|
||||
self.width = int(round((maxx - minx) * scale))
|
||||
self.height = int(round((maxy - miny) * scale))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue