dont render black background for map
This commit is contained in:
parent
3fa471135f
commit
4e09b125b2
1 changed files with 0 additions and 3 deletions
|
@ -4,7 +4,6 @@ import xml.etree.ElementTree as ET
|
|||
from django.conf import settings
|
||||
from django.db.models import Max, Min
|
||||
from shapely.affinity import scale
|
||||
from shapely.geometry import box
|
||||
|
||||
from c3nav.mapdata.models import Package
|
||||
|
||||
|
@ -65,8 +64,6 @@ class LevelRenderer():
|
|||
})
|
||||
svg.append(contents)
|
||||
|
||||
contents.append(self.polygon_svg(box(0, 0, width, height), fill_color='#000000'))
|
||||
|
||||
contents.append(self.polygon_svg(self.level.geometries.buildings_with_holes,
|
||||
fill_color='#D5D5D5'))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue