draw steps from left to right (downstairs view)
This commit is contained in:
parent
a4644a9c5b
commit
8ef06d268b
2 changed files with 2 additions and 2 deletions
|
@ -118,7 +118,7 @@ class LineGeometryMapItemWithLevel(GeometryMapItemWithLevel):
|
|||
return result
|
||||
|
||||
def to_shadow_geojson(self):
|
||||
shadow = self.geometry.parallel_offset(0.03, 'left', join_style=JOIN_STYLE.mitre)
|
||||
shadow = self.geometry.parallel_offset(0.03, 'right', join_style=JOIN_STYLE.mitre)
|
||||
shadow = shadow.buffer(0.019, join_style=JOIN_STYLE.mitre, cap_style=CAP_STYLE.flat)
|
||||
return OrderedDict((
|
||||
('type', 'Feature'),
|
||||
|
|
|
@ -203,5 +203,5 @@ class LevelGeometries():
|
|||
def stair_areas(self):
|
||||
left = []
|
||||
for stair in assert_multilinestring(self.stairs):
|
||||
left.append(stair.parallel_offset(0.15, 'left', join_style=JOIN_STYLE.mitre))
|
||||
left.append(stair.parallel_offset(0.15, 'right', join_style=JOIN_STYLE.mitre))
|
||||
return cascaded_union(left).buffer(0.20, join_style=JOIN_STYLE.mitre, cap_style=CAP_STYLE.flat)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue