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

Method __init__

folium/features.py:106–124  ·  view source on GitHub ↗
(
        self,
        location: Sequence[float],
        number_of_sides: int = 4,
        rotation: int = 0,
        radius: int = 15,
        popup: Union[Popup, str, None] = None,
        tooltip: Union[Tooltip, str, None] = None,
        **kwargs: TypePathOptions,
    )

Source from the content-addressed store, hash-verified

104 ]
105
106 def __init__(
107 self,
108 location: Sequence[float],
109 number_of_sides: int = 4,
110 rotation: int = 0,
111 radius: int = 15,
112 popup: Union[Popup, str, None] = None,
113 tooltip: Union[Tooltip, str, None] = None,
114 **kwargs: TypePathOptions,
115 ):
116 super().__init__(location, popup=popup, tooltip=tooltip)
117 self._name = "RegularPolygonMarker"
118 self.options = path_options(line=False, radius=radius, **kwargs)
119 self.options.update(
120 dict(
121 number_of_sides=number_of_sides,
122 rotation=rotation,
123 )
124 )
125
126
127class Vega(JSCSSMixin):

Callers

nothing calls this directly

Calls 2

path_optionsFunction · 0.90
__init__Method · 0.45

Tested by

no test coverage detected