code: def drawing_update(self):
          '''update line drawing'''
          from MAVProxy.modules.mavproxy_map import mp_slipmap
          if self.draw_callback is None:
              return
          self.draw_line.append(self.click_position)
          if len(self.draw_line) > 1:
              self.mpstate.map.add_object(mp_slipmap.SlipPolygon('drawing', self.draw_line,
                                                            layer='Drawing', linewidth=2, colour=(128,128,255))f drawing_update(self):
          '''update line drawing'''
          from MAVProxy.modules.mavproxy_map import mp_slipmap
          if self.draw_callback is None:
              return
          self.draw_line.append(self.click_position)
          if len(self.draw_line) > 1:
              self.mpstate.map.add_object(mp_slipmap.SlipPolygon('drawing', self.draw_line,
                                                            layer='Drawing', linewidth=2, colour=(128,128,255)))
docs: update line drawing