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

Method __init__

folium/plugins/measure_control.py:64–83  ·  view source on GitHub ↗
(
        self,
        position="topright",
        primary_length_unit="meters",
        secondary_length_unit="miles",
        primary_area_unit="sqmeters",
        secondary_area_unit="acres",
        **kwargs
    )

Source from the content-addressed store, hash-verified

62 ]
63
64 def __init__(
65 self,
66 position="topright",
67 primary_length_unit="meters",
68 secondary_length_unit="miles",
69 primary_area_unit="sqmeters",
70 secondary_area_unit="acres",
71 **kwargs
72 ):
73 super().__init__()
74 self._name = "MeasureControl"
75
76 self.options = remove_empty(
77 position=position,
78 primary_length_unit=primary_length_unit,
79 secondary_length_unit=secondary_length_unit,
80 primary_area_unit=primary_area_unit,
81 secondary_area_unit=secondary_area_unit,
82 **kwargs
83 )

Callers

nothing calls this directly

Calls 1

remove_emptyFunction · 0.90

Tested by

no test coverage detected