use level.short_label as group name for rendering

This commit is contained in:
Laura Klünder 2017-11-14 14:37:32 +01:00
parent c99b9e4e58
commit d6b94b0167
3 changed files with 10 additions and 5 deletions

View file

@ -90,7 +90,7 @@ class MapRenderer:
if not bbox.intersects(geoms.affected_area):
continue
engine.add_group('level_%s' % geoms.pk)
engine.add_group('level_%s' % geoms.short_label)
# hide indoor and outdoor rooms if their access restriction was not unlocked
add_walls = hybrid_union(tuple(area for access_restriction, area in geoms.restricted_spaces_indoors.items()