class_docstr: Creates a SideBySideLayers that takes two Layers and adds a sliding
  control with the leaflet-side-by-side plugin.
  
  Uses the Leaflet leaflet-side-by-side plugin https://github.com/digidem/leaflet-side-by-side
  
  Parameters
  ----------
  layer_left: Layer.
      The left Layer within the side by side control.
      Must be created and added to the map before being passed to this class.
  layer_right: Layer.
      The right Layer within the side by side control.
      Must be created and added to the map before being passed to this class.
  
  Examples
  --------
  >>> sidebyside = SideBySideLayers(layer_left, layer_right)
  >>> sidebyside.add_to(m)
class_docstr_tok: ["Creates","a","SideBySideLayers","that","takes","two","Layers","and","adds","a","sliding","control","with","the","leaflet-side-by-side","plugin",".","Uses","the","Leaflet","leaflet-side-by-side","plugin","https",":","\/\/github.com\/digidem\/leaflet-side-by-side","Parameters","--","--","--","--","--","layer_left",":","Layer",".","The","left","Layer","within","the","side","by","side","control",".","Must","be","created","and","added","to","the","map","before","being","passed","to","this","class",".","layer_right",":","Layer",".","The","right","Layer","within","the","side","by","side","control",".","Must","be","created","and","added","to","the","map","before","being","passed","to","this","class",".","Examples","--","--","--","--",">",">",">","sidebyside","=","SideBySideLayers","(","layer_left",",","layer_right",")",">",">",">","sidebyside.add_to","(","m",")"]
code: def __init__(self, layer_left, layer_right):
      super().__init__()
      self._name = "SideBySideLayers"
      self.layer_left = layer_left
      self.layer_right = layer_right
  
imports: from branca.element import MacroElement
  from jinja2 import Template
  from folium.elements import JSCSSMixin
label_desc: Use image node_id 1 to create a new SideBySideLayers object from inherited base classes: JSCSSMixin, MacroElement with example: obj = SideBySideLayers(layer_left, layer_right)