code: def drawing_layer(
      features=None,
      mode=DEFAULT_DRAWING_MODE,
      show_controls=True,
      marker_options=None,
      line_options=None,
      polygon_options=None,
  ):
      """
      Create an interactive drawing layer
  
      Adding a drawing layer to a map allows adding custom shapes,
      both programatically and interactively (by drawing on the map).
  
      :Examples:
  
      {examples}
  
      {params}
  
      :param mode:
          Initial drawing mode. One of ``DISABLED``,
          ``MARKER``, ``LINE``, ``POLYGON``, ``CIRCLE`` or
          ``DELETE``. Defaults to ``MARKER`` if ``show_controls`` is
          True, otherwise defaults to ``DISABLED``.  :type mode: str,
          optional
  
      :param show_controls:
          Whether to show the drawing controls in the map toolbar.
          Defaults to True.
      :type show_controls: bool, optional
  
      :returns:
          A :class:`gmaps.Drawing` widget.
      """
      controls = DrawingControls(show_controls=show_controls)
      kwargs = {
          "features": features,
          "mode": mode,
          "toolbar_controls": controls,
          "marker_options": marker_options,
          "line_options": line_options,
          "polygon_options": polygon_options,
      }
      return Drawing(**kwargs)
  
imports: import ipywidgets
  from traitlets import Unicode, List, Enum, Instance, HasTraits, Bool, default, observe, Float
  from .None import geotraitlets
  from .maps import GMapsWidgetMixin
  from .marker import MarkerOptions
  from ._docutils import doc_subst
label_desc: Use image node_id 1 for calling a global function with example usage: drawing_layer(features, mode, show_controls, marker_options, line_options, polygon_options) and returns: Drawing