class_docstr: Vector drawing and editing plugin for Leaflet.
  
  Parameters
  ----------
  export : bool, default False
      Add a small button that exports the drawn shapes as a geojson file.
  filename : string, default 'data.geojson'
      Name of geojson file
  position : {'topleft', 'toprigth', 'bottomleft', 'bottomright'}
      Position of control.
      See https://leafletjs.com/reference.html#control
  show_geometry_on_click : bool, default True
      When True, opens an alert with the geometry description on click.
  draw_options : dict, optional
      The options used to configure the draw toolbar. See
      http://leaflet.github.io/Leaflet.draw/docs/leaflet-draw-latest.html#drawoptions
  edit_options : dict, optional
      The options used to configure the edit toolbar. See
      https://leaflet.github.io/Leaflet.draw/docs/leaflet-draw-latest.html#editpolyoptions
  
  Examples
  --------
  >>> m = folium.Map()
  >>> Draw(
  ...     export=True,
  ...     filename="my_data.geojson",
  ...     position="topleft",
  ...     draw_options={"polyline": {"allowIntersection": False}},
  ...     edit_options={"poly": {"allowIntersection": False}},
  ... ).add_to(m)
  
  For more info please check
  https://leaflet.github.io/Leaflet.draw/docs/leaflet-draw-latest.html
code: def render(self, **kwargs):
      super().render(**kwargs)
  
      figure = self.get_root()
      assert isinstance(
          figure, Figure
      ), "You cannot render this Element if it is not in a Figure."
  
      export_style = """
              <style>
                  #export {
                      position: absolute;
                      top: 5px;
                      right: 10px;
                      z-index: 999;
                      background: white;
                      color: black;
                      padding: 6px;
                      border-radius: 4px;
                      font-family: 'Helvetica Neue';
                      cursor: pointer;
                      font-size: 12px;
                      text-decoration: none;
                      top: 90px;
                  }
              </style>
          """
      export_button = """<a href='#' id='export'>Export</a>"""
      if self.export:
          figure.header.add_child(Element(export_style), name="export")
          figure.html.add_child(
              Element(export_button), name="export_button"
          )
  
imports: from branca.element import Element, Figure, MacroElement
  from jinja2 import Template
  from folium.elements import JSCSSMixin
label_desc: Use image node_id 2 for calling the Draw obj's underlying member method code with example usage: obj.render() without return types