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 __init__(
      self,
      export=False,
      filename="data.geojson",
      position="topleft",
      show_geometry_on_click=True,
      draw_options=None,
      edit_options=None,
  ):
      super().__init__()
      self._name = "DrawControl"
      self.export = export
      self.filename = filename
      self.position = position
      self.show_geometry_on_click = show_geometry_on_click
      self.draw_options = draw_options or {}
      self.edit_options = edit_options or {}
  
imports: from branca.element import Element, Figure, MacroElement
  from jinja2 import Template
  from folium.elements import JSCSSMixin
label_desc: Use image node_id 1 to create a new Draw object from inherited base classes: JSCSSMixin, MacroElement with example: obj = Draw(export, filename, position, show_geometry_on_click, draw_options, edit_options)