Skip to content

Commit 79fa06a

Browse files
committed
main
1 parent 92315eb commit 79fa06a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cadastral.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def add_leg_labels(self, leg, orientation: str):
9898

9999
# Offset text above/below the line
100100
normals = line_normals((leg.from_.easting, leg.from_.northing), (leg.to.easting, leg.to.northing), orientation)
101-
offset_distance = self._get_drawing_extent() * 0.005
101+
offset_distance = self._get_drawing_extent() * 0.02
102102
offset_inside_x = (normals[0][0] / math.hypot(*normals[0])) * offset_distance
103103
offset_inside_y = (normals[0][1] / math.hypot(*normals[0])) * offset_distance
104104
offset_outside_x = (normals[1][0] / math.hypot(*normals[1])) * offset_distance

topographic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ def add_leg_labels(self, leg, orientation: str):
134134

135135
# Offset text above/below the line
136136
normals = line_normals((leg.from_.easting, leg.from_.northing), (leg.to.easting, leg.to.northing), orientation)
137-
offset_distance = self._get_drawing_extent() * 0.005
137+
offset_distance = self._get_drawing_extent() * 0.02
138138
offset_inside_x = (normals[0][0] / math.hypot(*normals[0])) * offset_distance
139139
offset_inside_y = (normals[0][1] / math.hypot(*normals[0])) * offset_distance
140140
offset_outside_x = (normals[1][0] / math.hypot(*normals[1])) * offset_distance

0 commit comments

Comments
 (0)