Skip to content

Commit

Permalink
map: add setting for drawn circle thickness
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbarker authored and tridge committed May 9, 2024
1 parent 2afa45e commit bcaba12
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion MAVProxy/modules/mavproxy_map/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ def __init__(self, mpstate):
('loitercircle',bool, False),
('showclicktime',int, 2),
('showwpnum',bool, True),
('circle_linewidth', int, 1),
('showdirection', bool, False),
('setpos_accuracy', float, 50),
('font_size', float, 0.5) ])
Expand Down Expand Up @@ -391,7 +392,7 @@ def cmd_map_circle(self, args):
(float(lat), float(lon)),
float(radius),
colour,
linewidth=1,
linewidth=self.map_settings.circle_linewidth,
)
self.map.add_object(circle)
self.circle_counter += 1
Expand Down

0 comments on commit bcaba12

Please # to comment.