diff --git a/doc/colors.png b/doc/colors.png index 8d454cc..928f1e4 100644 Binary files a/doc/colors.png and b/doc/colors.png differ diff --git a/doc/lanes.png b/doc/lanes.png index 9eac58d..81688fe 100644 Binary files a/doc/lanes.png and b/doc/lanes.png differ diff --git a/doc/power.png b/doc/power.png index 7871c14..17cb1e0 100644 Binary files a/doc/power.png and b/doc/power.png differ diff --git a/map_machine/road.py b/map_machine/road.py index ea26cda..712bfbb 100644 --- a/map_machine/road.py +++ b/map_machine/road.py @@ -579,6 +579,18 @@ class ComplexConnector(Connector): def draw(self, svg: Drawing) -> None: """Draw connection fill.""" + circle = svg.circle( + self.road_1.line.points[self.index_1], + self.road_1.width * self.scale / 2, + fill=self.road_1.matcher.color.hex, + ) + svg.add(circle) + circle = svg.circle( + self.road_2.line.points[self.index_2], + self.road_2.width * self.scale / 2, + fill=self.road_2.matcher.color.hex, + ) + svg.add(circle) path = svg.path( d=["M"] + self.curve_1 + ["L"] + self.curve_2 + ["Z"], fill=self.road_1.matcher.color.hex,