draw lines aroung geometries with altitude only in svg engine

This commit is contained in:
Laura Klünder 2017-11-08 18:03:40 +01:00
parent 7d0eb3975d
commit 7790c16bc0
2 changed files with 4 additions and 2 deletions

View file

@ -206,6 +206,9 @@ class SVGEngine(RenderEngine):
else:
attribs = ' fill="none"'
if altitude is not None and stroke is None:
stroke = StrokeAttribs('rgba(0, 0, 0, 0.15)', 0.05, min_px=0.2)
if stroke:
width = stroke.width*self.scale
if stroke.min_px: