class_docstr: Creates a Web Map Service (WMS) layer.
  
  Parameters
  ----------
  url : str
      The url of the WMS server.
  layers : str
      Comma-separated list of WMS layers to show.
  styles : str, optional
      Comma-separated list of WMS styles.
  fmt : str, default 'image/jpeg'
      The format of the service output. Ex: 'image/png'
  transparent: bool, default False
      Whether the layer shall allow transparency.
  version : str, default '1.1.1'
      Version of the WMS service to use.
  attr : str, default ''
      The attribution of the service.
      Will be displayed in the bottom right corner.
  name : string, optional
      The name of the Layer, as it will appear in LayerControls
  overlay : bool, default True
      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.
  **kwargs : additional keyword arguments
      Passed through to the underlying tileLayer.wms object and can be used
      for setting extra tileLayer.wms parameters or as extra parameters in
      the WMS request.
  
  See https://leafletjs.com/reference.html#tilelayer-wms
class_docstr_tok: ["Creates","a","Web","Map","Service","(","WMS",")","layer",".","Parameters","--","--","--","--","--","url",":","str","The","url","of","the","WMS","server",".","layers",":","str","Comma-separated","list","of","WMS","layers","to","show",".","styles",":","str",",","optional","Comma-separated","list","of","WMS","styles",".","fmt",":","str",",","default","'image\/jpeg'","The","format","of","the","service","output",".","Ex",":","'image\/png'","transparent",":","bool",",","default","False","Whether","the","layer","shall","allow","transparency",".","version",":","str",",","default","'","1.1.1'","Version","of","the","WMS","service","to","use",".","attr",":","str",",","default","``","The","attribution","of","the","service",".","Will","be","displayed","in","the","bottom","right","corner",".","name",":","string",",","optional","The","name","of","the","Layer",",","as","it","will","appear","in","LayerControls","overlay",":","bool",",","default","True","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",".","*","*","kwargs",":","additional","keyword","arguments","Passed","through","to","the","underlying","tileLayer.wms","object","and","can","be","used","for","setting","extra","tileLayer.wms","parameters","or","as","extra","parameters","in","the","WMS","request",".","See","https",":","\/\/leafletjs.com\/reference.html","#","tilelayer-wms"]
code: def __init__(
      self,
      url: str,
      layers: str,
      styles: str = "",
      fmt: str = "image/jpeg",
      transparent: bool = False,
      version: str = "1.1.1",
      attr: str = "",
      name: Optional[str] = None,
      overlay: bool = True,
      control: bool = True,
      show: bool = True,
      **kwargs,
  ):
      super().__init__(
          name=name, overlay=overlay, control=control, show=show
      )
      self.url = url
      kwargs["format"] = fmt
      cql_filter = kwargs.pop("cql_filter", None)
      self.options = parse_options(
          layers=layers,
          styles=styles,
          transparent=transparent,
          version=version,
          attribution=attr,
          **kwargs,
      )
      if cql_filter:
          # special parameter that shouldn't be camelized
          self.options["cql_filter"] = cql_filter
  
imports: from typing import Any, Callable, Optional, Union
  import xyzservices
  from branca.element import Element, Figure
  from jinja2 import Template
  from folium.map import Layer
  from folium.utilities import TypeBounds, TypeJsonValue, image_to_url, mercator_transform, parse_options
label_desc: Use image node_id 1 to create a new WmsTileLayer object from inherited base classes: Layer with example: obj = WmsTileLayer(url, layers, styles, fmt, transparent, version, attr, name, overlay, control, show)