class_docstr: Creates a TimestampedWmsTileLayer that takes a WmsTileLayer and adds time
  control with the Leaflet.TimeDimension plugin.
  
  Parameters
  ----------
  data: WmsTileLayer.
      The WmsTileLayer that you want to add time support to.
      Must  be created like a typical WmsTileLayer and added to the map
      before being passed to this class.
  
  transition_time: int, default 200.
      The duration in ms of a transition from between timestamps.
  loop: bool, default False
      Whether the animation shall loop, default is to reduce load on WMS
      services.
  auto_play: bool, default False
      Whether the animation shall start automatically at startup, default
      is to reduce load on WMS services.
  period: str, default 'P1D'
      Used to construct the array of available times starting
      from the first available time. Format: ISO8601 Duration
      ex: 'P1M' -> 1/month, 'P1D' -> 1/day, 'PT1H' -> 1/hour, and 'PT1M' -> 1/minute
      Note: this seems to be overridden by the WMS Tile Layer GetCapabilities.
  
  Examples
  --------
  >>> w0 = WmsTileLayer(
  ...     "http://this.wms.server/ncWMS/wms",
  ...     name="Test WMS Data",
  ...     styles="",
  ...     fmt="image/png",
  ...     transparent=True,
  ...     layers="test_data",
  ...     COLORSCALERANGE="0,10",
  ... )
  >>> w0.add_to(m)
  >>> w1 = WmsTileLayer(
  ...     "http://this.wms.server/ncWMS/wms",
  ...     name="Test WMS Data",
  ...     styles="",
  ...     fmt="image/png",
  ...     transparent=True,
  ...     layers="test_data_2",
  ...     COLORSCALERANGE="0,5",
  ... )
  >>> w1.add_to(m)
  >>> # Add WmsTileLayers to time control.
  >>> time = TimestampedWmsTileLayers([w0, w1])
  >>> time.add_to(m)
  
  See https://github.com/socib/Leaflet.TimeDimension for more information.
code: def __init__(
      self,
      data,
      transition_time=200,
      loop=False,
      auto_play=False,
      period="P1D",
      time_interval=False,
  ):
      super().__init__()
      self._name = "TimestampedWmsTileLayers"
      self.options = parse_options(
          period=period,
          time_interval=time_interval,
      )
      self.options_control = parse_options(
          position="bottomleft",
          auto_play=auto_play,
          player_options={
              "transitionTime": int(transition_time),
              "loop": loop,
          },
      )
      if isinstance(data, WmsTileLayer):
          self.layers = [data]
      else:
          self.layers = data
  
file_path: folium/folium/plugins/timestamped_wmstilelayer.py
imports: from branca.element import MacroElement
  from jinja2 import Template
  from folium.elements import JSCSSMixin
  from folium.raster_layers import WmsTileLayer
  from folium.utilities import parse_options
label_desc: Use image node_id 1 to create a new TimestampedWmsTileLayers object from inherited base classes: JSCSSMixin, MacroElement with example: obj = TimestampedWmsTileLayers(data, transition_time, loop, auto_play, period, time_interval)