__init__

ShapeDrawer.__init__(m, layer=None, dynamic=True)

Base-class for drawing shapes on a map.

Parameters:
  • m (eomaps.Maps) – the maps-object.

  • layer (str or None) – The layer-name to put the shapes on. If None, the currently active layer will be used. The default is None.

  • dynamic (bool) – If True, shapes are added as dynamic artists to avoid re-drawing the background after the draw is finished. If False, the shapes are added as background-artists.