code: def plot(feature, mp=None, style_function=None, **map_kwargs):
      
      map_kwargs.setdefault('basemap', basemaps.Stamen.Terrain)
      if feature.is_empty:
          warnings.warn("The geometry is empty.")
          mp = Map(**map_kwargs) if mp is None else mp
  
      else:
          if mp is None:
              center = feature.envelope.centroid.reproject(WGS84_CRS)
              zoom = zoom_level_from_geometry(feature.envelope)
  
              mp = Map(center=(center.y, center.x), zoom=zoom, **map_kwargs)
  
          mp.add_layer(layer_from_element(feature, style_function))
  
      return mp
docs: Plots a GeoVector in an ipyleaflet map.
  
      Parameters
      ----------
      feature : telluric.vectors.GeoVector, telluric.features.GeoFeature, telluric.collections.BaseCollection
          Data to plot.
      mp : ipyleaflet.Map, optional
          Map in which to plot, default to None (creates a new one).
      style_function : func
          Function that returns an style dictionary for
      map_kwargs : kwargs, optional
          Extra parameters to send to ipyleaflet.Map.