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

Method _get_self_bounds

folium/features.py:854–860  ·  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

852 )
853
854 def _get_self_bounds(self) -> List[List[Optional[float]]]:
855 """
856 Computes the bounds of the object itself (not including it's children)
857 in the form [[lat_min, lon_min], [lat_max, lon_max]].
858
859 """
860 return get_bounds(self.data, lonlat=True)
861
862 def render(self, **kwargs):
863 self.parent_map = get_obj_in_upper_tree(self, Map)

Callers

nothing calls this directly

Calls 1

get_boundsFunction · 0.90

Tested by

no test coverage detected