borders for obstacles?
This commit is contained in:
parent
3401acfa2c
commit
5bdfe73f6e
1 changed files with 2 additions and 1 deletions
|
@ -106,7 +106,8 @@ class MapRenderer:
|
||||||
# add obstacles after everything related to ground for the nice right order
|
# add obstacles after everything related to ground for the nice right order
|
||||||
for i, altitudearea in enumerate(geoms.altitudeareas):
|
for i, altitudearea in enumerate(geoms.altitudeareas):
|
||||||
for height, obstacle in altitudearea.obstacles.items():
|
for height, obstacle in altitudearea.obstacles.items():
|
||||||
engine.add_geometry(obstacle, fill=FillAttribs('#B7B7B7'), category='obstacles')
|
engine.add_geometry(obstacle, fill=FillAttribs('#B7B7B7'),
|
||||||
|
stroke=StrokeAttribs('#888888', 0.05, min_px=0.2), category='obstacles')
|
||||||
|
|
||||||
# add walls, stroke_px makes sure that all walls are at least 1px thick on all zoom levels,
|
# add walls, stroke_px makes sure that all walls are at least 1px thick on all zoom levels,
|
||||||
walls = None
|
walls = None
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue