Skip to content

Commit ef36c6a

Browse files
committed
map: add set_colour on a polygon
1 parent 1f747a2 commit ef36c6a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: MAVProxy/modules/mavproxy_map/mp_slipmap_util.py

+3
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,9 @@ def __init__(self, key, points, layer, colour, linewidth, arrow = False, popup_m
226226
self._has_timestamps = False
227227
self._showlines = showlines
228228

229+
def set_colour(self, colour):
230+
self.colour = colour
231+
229232
def bounds(self):
230233
'''return bounding box'''
231234
if self.hidden:

0 commit comments

Comments
 (0)