class_docstr: Draw polygon overlays on a map.
  
  See :func:`folium.vector_layers.path_options` for the `Path` options.
  
  Parameters
  ----------
  locations: list of points (latitude, longitude)
      - One list of coordinate pairs to define a polygon. You don't have to
        add a last point equal to the first point.
      - If you pass a list with multiple of those it will make a multi-
        polygon.
  popup: string or folium.Popup, default None
      Input text or visualization for object displayed when clicking.
  tooltip: str or folium.Tooltip, default None
      Display a text when hovering over the object.
  **kwargs
      Other valid (possibly inherited) options. See:
      https://leafletjs.com/reference.html#polygon
class_docstr_tok: ["Draw","polygon","overlays","on","a","map",".","See",":","func",":","`","folium.vector_layers.path_options","`","for","the","`","Path","`","options",".","Parameters","--","--","--","--","--","locations",":","list","of","points","(","latitude",",","longitude",")","-","One","list","of","coordinate","pairs","to","define","a","polygon",".","You","do","n't","have","to","add","a","last","point","equal","to","the","first","point",".","-","If","you","pass","a","list","with","multiple","of","those","it","will","make","a","multi-","polygon",".","popup",":","string","or","folium.Popup",",","default","None","Input","text","or","visualization","for","object","displayed","when","clicking",".","tooltip",":","str","or","folium.Tooltip",",","default","None","Display","a","text","when","hovering","over","the","object",".","*","*","kwargs","Other","valid","(","possibly","inherited",")","options",".","See",":","https",":","\/\/leafletjs.com\/reference.html","#","polygon"]
code: def __init__(
      self,
      locations: TypeMultiLine,
      popup: Union[Popup, str, None] = None,
      tooltip: Union[Tooltip, str, None] = None,
      **kwargs: TypePathOptions,
  ):
      super().__init__(locations, popup=popup, tooltip=tooltip)
      self._name = "Polygon"
      self.options = path_options(line=True, radius=None, **kwargs)
  
imports: from typing import List, Optional, Sequence, Union
  from branca.element import MacroElement
  from jinja2 import Template
  from folium.map import Marker, Popup, Tooltip
  from folium.utilities import TypeLine, TypeMultiLine, TypePathOptions, camelize, get_bounds, validate_locations, validate_multi_locations
label_desc: Use image node_id 1 to create a new Polygon object from inherited base classes: BaseMultiLocation with example: obj = Polygon(locations, popup, tooltip)