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

Method _get_self_bounds

folium/plugins/timeline.py:122–128  ·  view source on GitHub ↗

Computes the bounds of the object itself (not including it's children) in the form [[lat_min, lon_min], [lat_max, lon_max]].

(self)

Source from the content-addressed store, hash-verified

120 self.options = remove_empty(**kwargs)
121
122 def _get_self_bounds(self):
123 """
124 Computes the bounds of the object itself (not including it's children)
125 in the form [[lat_min, lon_min], [lat_max, lon_max]].
126
127 """
128 return get_bounds(self.data, lonlat=True)
129
130
131class TimelineSlider(JSCSSMixin, MacroElement):

Callers

nothing calls this directly

Calls 1

get_boundsFunction · 0.90

Tested by

no test coverage detected