|
@@ -756,6 +756,11 @@ class GMFrame(wx.Frame):
|
|
|
self.GetMapDisplay().AddLegend(cmd=command, showDialog=False)
|
|
|
else:
|
|
|
self.GetMapDisplay().AddLegend(showDialog=True)
|
|
|
+ elif layertype == 'northarrow':
|
|
|
+ if len(command) > 1:
|
|
|
+ self.GetMapDisplay().AddArrow(cmd=command, showDialog=False)
|
|
|
+ else:
|
|
|
+ self.GetMapDisplay().AddArrow(showDialog=True)
|
|
|
elif layertype == 'redraw':
|
|
|
self.GetMapDisplay().OnRender(None)
|
|
|
elif layertype == 'export':
|