allow elevations to show negative values

removed RL - not standard throughout the world
This commit is contained in:
Ryan Schultz
2023-05-18 22:38:12 -05:00
parent a07d782683
commit bda25b7932
@@ -783,7 +783,7 @@ class SvgWriter:
text_position = Vector(
(
(x_offset + projected_points[0].x) * self.svg_scale,
((y_offset - projected_points[0].y) * self.svg_scale) - 2.5,
((y_offset - projected_points[0].y) * self.svg_scale) - 1.0,
)
)
# TODO: allow metric to be configurable
@@ -801,7 +801,7 @@ class SvgWriter:
text_style = SvgWriter.get_box_alignment_parameters(box_alignment)
self.svg.add(
self.svg.text(
"RL +{}".format(rl),
"{}".format(rl),
insert=tuple(text_position),
class_="PLANLEVEL",
**text_style,