class_docstr: An abstract class for everything that is a Layer on the map.
  It will be used to define whether an object will be included in
  LayerControls.
  
  Parameters
  ----------
  name : string, default None
      The name of the Layer, as it will appear in LayerControls
  overlay : bool, default False
      Adds the layer as an optional overlay (True) or the base layer (False).
  control : bool, default True
      Whether the Layer will be included in LayerControls.
  show: bool, default True
      Whether the layer will be shown on opening.
class_docstr_tok: ["An","abstract","class","for","everything","that","is","a","Layer","on","the","map",".","It","will","be","used","to","define","whether","an","object","will","be","included","in","LayerControls",".","Parameters","--","--","--","--","--","name",":","string",",","default","None","The","name","of","the","Layer",",","as","it","will","appear","in","LayerControls","overlay",":","bool",",","default","False","Adds","the","layer","as","an","optional","overlay","(","True",")","or","the","base","layer","(","False",")",".","control",":","bool",",","default","True","Whether","the","Layer","will","be","included","in","LayerControls",".","show",":","bool",",","default","True","Whether","the","layer","will","be","shown","on","opening","."]
code: def __init__(
      self,
      name: Optional[str] = None,
      overlay: bool = False,
      control: bool = True,
      show: bool = True,
  ):
      super().__init__()
      self.layer_name = name if name is not None else self.get_name()
      self.overlay = overlay
      self.control = control
      self.show = show
  
imports: import warnings
  from collections import OrderedDict
  from typing import Dict, List, Optional, Sequence, Tuple, Type, Union
  from branca.element import Element, Figure, Html, MacroElement
  from jinja2 import Template
  from folium.elements import ElementAddToElement
  from folium.utilities import TypeBounds, TypeJsonValue, camelize, escape_backticks, parse_options, validate_location
label_desc: Use image node_id 1 to create a new Layer object from inherited base classes: MacroElement with example: obj = Layer(name, overlay, control, show)