MCPcopy
hub / github.com/python-visualization/folium / __init__

Method __init__

folium/features.py:1756–1772  ·  view source on GitHub ↗
(
        self,
        html: Optional[str] = None,
        icon_size: Optional[Tuple[int, int]] = None,
        icon_anchor: Optional[Tuple[int, int]] = None,
        popup_anchor: Optional[Tuple[int, int]] = None,
        class_name: str = "empty",
    )

Source from the content-addressed store, hash-verified

1754 ) # noqa
1755
1756 def __init__(
1757 self,
1758 html: Optional[str] = None,
1759 icon_size: Optional[Tuple[int, int]] = None,
1760 icon_anchor: Optional[Tuple[int, int]] = None,
1761 popup_anchor: Optional[Tuple[int, int]] = None,
1762 class_name: str = "empty",
1763 ):
1764 super().__init__()
1765 self._name = "DivIcon"
1766 self.options = remove_empty(
1767 html=html,
1768 icon_size=icon_size,
1769 icon_anchor=icon_anchor,
1770 popup_anchor=popup_anchor,
1771 class_name=class_name,
1772 )
1773
1774
1775class LatLngPopup(MacroElement):

Callers

nothing calls this directly

Calls 2

remove_emptyFunction · 0.90
__init__Method · 0.45

Tested by

no test coverage detected