Maps.BM.add_artist#

BM.add_artist(*artists, layer=None)#

Add a dynamic-artist to be managed. (Dynamic artists are re-drawn on every update!)

Parameters:
  • artists (Artist) – The artist to be added. Will be set to ‘animated’ (just to be safe). art must be in the figure associated with the canvas this class is managing.

  • layer (str or None, optional) –

    The layer name at which the artist should be drawn.

    • If “all”: the corresponding feature will be added to ALL layers

    The default is None in which case the layer of the base-Maps object is used.