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

Method __init__

folium/plugins/draw.py:160–180  ·  view source on GitHub ↗
(
        self,
        export=False,
        feature_group=None,
        filename="data.geojson",
        position="topleft",
        show_geometry_on_click=True,
        draw_options=None,
        edit_options=None,
        on=None,
    )

Source from the content-addressed store, hash-verified

158 ]
159
160 def __init__(
161 self,
162 export=False,
163 feature_group=None,
164 filename="data.geojson",
165 position="topleft",
166 show_geometry_on_click=True,
167 draw_options=None,
168 edit_options=None,
169 on=None,
170 ):
171 super().__init__()
172 self._name = "DrawControl"
173 self.export = export
174 self.feature_group = feature_group
175 self.filename = filename
176 self.position = position
177 self.show_geometry_on_click = show_geometry_on_click
178 self.draw_options = draw_options or {}
179 self.edit_options = edit_options or {}
180 self.on = on or {}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected