MCPcopy Create free account
hub / github.com/python-visualization/folium / __init__

Method __init__

folium/plugins/geocoder.py:73–93  ·  view source on GitHub ↗
(
        self,
        collapsed: bool = False,
        position: str = "topright",
        add_marker: bool = True,
        zoom: Optional[int] = 11,
        provider: str = "nominatim",
        provider_options: dict = {},
        **kwargs
    )

Source from the content-addressed store, hash-verified

71 ]
72
73 def __init__(
74 self,
75 collapsed: bool = False,
76 position: str = "topright",
77 add_marker: bool = True,
78 zoom: Optional[int] = 11,
79 provider: str = "nominatim",
80 provider_options: dict = {},
81 **kwargs
82 ):
83 super().__init__()
84 self._name = "Geocoder"
85 self.options = remove_empty(
86 collapsed=collapsed,
87 position=position,
88 default_mark_geocode=add_marker,
89 zoom=zoom,
90 provider=provider,
91 provider_options=provider_options,
92 **kwargs
93 )

Callers

nothing calls this directly

Calls 1

remove_emptyFunction · 0.90

Tested by

no test coverage detected