class_docstr: Base class for vector classes with multiple coordinates.
  
  :meta private:
class_docstr_tok: ["Base","class","for","vector","classes","with","multiple","coordinates",".",":","meta","private",":"]
code: def __init__(
      self,
      locations: TypeMultiLine,
      popup: Union[Popup, str, None] = None,
      tooltip: Union[Tooltip, str, None] = None,
  ):
      super().__init__()
      self.locations = validate_multi_locations(locations)
      if popup is not None:
          self.add_child(
              popup if isinstance(popup, Popup) else Popup(str(popup))
          )
      if tooltip is not None:
          self.add_child(
              tooltip
              if isinstance(tooltip, Tooltip)
              else Tooltip(str(tooltip))
          )
  
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 BaseMultiLocation object from inherited base classes: MacroElement with example: obj = BaseMultiLocation(locations, popup, tooltip)