class_docstr: Draw polyline overlays on a map.
  
  See :func:`folium.vector_layers.path_options` for the `Path` options.
  
  Parameters
  ----------
  locations: list of points (latitude, longitude)
      Latitude and Longitude of line (Northing, Easting)
      Pass multiple sequences of coordinates for a multi-polyline.
  popup: str 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.
  smooth_factor: float, default 1.0
      How much to simplify the polyline on each zoom level.
      More means better performance and smoother look,
      and less means more accurate representation.
  no_clip: Bool, default False
      Disable polyline clipping.
  **kwargs
      Other valid (possibly inherited) options. See:
      https://leafletjs.com/reference.html#polyline
class_docstr_tok: ["Draw","polyline","overlays","on","a","map",".","See",":","func",":","`","folium.vector_layers.path_options","`","for","the","`","Path","`","options",".","Parameters","--","--","--","--","--","locations",":","list","of","points","(","latitude",",","longitude",")","Latitude","and","Longitude","of","line","(","Northing",",","Easting",")","Pass","multiple","sequences","of","coordinates","for","a","multi-polyline",".","popup",":","str","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",".","smooth_factor",":","float",",","default","1.0","How","much","to","simplify","the","polyline","on","each","zoom","level",".","More","means","better","performance","and","smoother","look",",","and","less","means","more","accurate","representation",".","no_clip",":","Bool",",","default","False","Disable","polyline","clipping",".","*","*","kwargs","Other","valid","(","possibly","inherited",")","options",".","See",":","https",":","\/\/leafletjs.com\/reference.html","#","polyline"]
code: def __init__(self, locations, popup=None, tooltip=None, **kwargs):
      super().__init__(locations, popup=popup, tooltip=tooltip)
      self._name = "PolyLine"
      self.options = path_options(line=True, **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 PolyLine object from inherited base classes: BaseMultiLocation with example: obj = PolyLine(locations, popup, tooltip)