I have django app with leaflet on the frontend and I need to calculate the bbox of a geojson object so that I can pass the coordinates to
I have tried some libs as well as trying the
getBounds methods of certain objects in Leaflet, such as
FeatureGroup, but it complained that the bounds were not defined.
Can anyone point me to a simple solution to this?