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

Method __init__

folium/features.py:1320–1341  ·  view source on GitHub ↗
(
        self,
        fields: Sequence[str],
        aliases: Optional[Sequence[str]] = None,
        labels: bool = True,
        localize: bool = False,
        style: Optional[str] = None,
        class_name: str = "foliumtooltip",
        sticky: bool = True,
        **kwargs: TypeJsonValue,
    )

Source from the content-addressed store, hash-verified

1318 )
1319
1320 def __init__(
1321 self,
1322 fields: Sequence[str],
1323 aliases: Optional[Sequence[str]] = None,
1324 labels: bool = True,
1325 localize: bool = False,
1326 style: Optional[str] = None,
1327 class_name: str = "foliumtooltip",
1328 sticky: bool = True,
1329 **kwargs: TypeJsonValue,
1330 ):
1331 super().__init__(
1332 fields=fields,
1333 aliases=aliases,
1334 labels=labels,
1335 localize=localize,
1336 style=style,
1337 class_name=class_name,
1338 )
1339 self._name = "GeoJsonTooltip"
1340 kwargs.update({"sticky": sticky, "class_name": class_name})
1341 self.tooltip_options = kwargs
1342
1343
1344class GeoJsonPopup(GeoJsonDetail):

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected