mirror of
https://github.com/enzet/map-machine.git
synced 2025-07-26 21:09:18 +02:00
Add --coordinates and --size arguments.
Construct boundary box from center coordinates and size.
This commit is contained in:
parent
cb440e8a8b
commit
b715e12924
8 changed files with 156 additions and 114 deletions
|
@ -406,7 +406,7 @@ class DirectionSector(Tagged):
|
|||
angle = float(self.get_tag("camera:angle"))
|
||||
if "angle" in self.tags:
|
||||
angle = float(self.get_tag("angle"))
|
||||
direction_radius = 25
|
||||
direction_radius = 50
|
||||
direction_color = scheme.get_color("direction_camera_color")
|
||||
elif self.get_tag("traffic_sign") == "stop":
|
||||
direction = self.get_tag("direction")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue