MCPcopy Index your code
hub / github.com/python-visualization/folium / __init__

Method __init__

folium/map.py:738–749  ·  view source on GitHub ↗
(
        self,
        padding: int = 0,
        max_zoom: Optional[int] = None,
        fly: bool = False,
        fit_on_map_load: bool = True,
    )

Source from the content-addressed store, hash-verified

736 )
737
738 def __init__(
739 self,
740 padding: int = 0,
741 max_zoom: Optional[int] = None,
742 fly: bool = False,
743 fit_on_map_load: bool = True,
744 ):
745 super().__init__()
746 self._name = "FitOverlays"
747 self.method = "flyToBounds" if fly else "fitBounds"
748 self.fit_on_map_load = fit_on_map_load
749 self.options = remove_empty(padding=(padding, padding), max_zoom=max_zoom)
750
751
752class CustomPane(MacroElement):

Callers

nothing calls this directly

Calls 2

remove_emptyFunction · 0.90
__init__Method · 0.45

Tested by

no test coverage detected