class_docstr: A simple geocoder for Leaflet that by default uses OSM/Nominatim.
  
  Please respect the Nominatim usage policy:
  https://operations.osmfoundation.org/policies/nominatim/
  
  Parameters
  ----------
  collapsed: bool, default False
      If True, collapses the search box unless hovered/clicked.
  position: str, default 'topright'
      Choose from 'topleft', 'topright', 'bottomleft' or 'bottomright'.
  add_marker: bool, default True
      If True, adds a marker on the found location.
  zoom: int, default 11, optional
      Set zoom level used for displaying the geocode result, note that this only has an effect when add_marker is set to False. Set this to None to preserve the current map zoom level.
  provider: str, default 'nominatim'
      Defaults to "nominatim", see https://github.com/perliedman/leaflet-control-geocoder/tree/2.4.0/src/geocoders for other built-in providers.
  provider_options: dict, default {}
      For use with specific providers that may require api keys or other parameters.
  
  For all options see https://github.com/perliedman/leaflet-control-geocoder
code: def __init__(
      self,
      collapsed: bool = False,
      position: str = "topright",
      add_marker: bool = True,
      zoom: Optional[int] = 11,
      provider: str = "nominatim",
      provider_options: dict = {},
      **kwargs,
  ):
      super().__init__()
      self._name = "Geocoder"
      self.options = parse_options(
          collapsed=collapsed,
          position=position,
          default_mark_geocode=add_marker,
          zoom=zoom,
          provider=provider,
          provider_options=provider_options,
          **kwargs,
      )
  
file_path: folium/folium/plugins/geocoder.py
imports: from typing import Optional
  from branca.element import MacroElement
  from jinja2 import Template
  from folium.elements import JSCSSMixin
  from folium.utilities import parse_options
label_desc: Use image node_id 1 to create a new Geocoder object from inherited base classes: JSCSSMixin, MacroElement with example: obj = Geocoder(collapsed, position, add_marker, zoom, provider, provider_options)