I'm working on a project where I make a call to my API to get back GeoJSON for a 3 mile radius from a given address. It returns back towns for me in a feature collection by using PostGIS/Tiger. The data comes back correct and works.
I then load this data into Google Maps like so:
Is there a way to now take the geojson that is loaded, and center in on that point?
I have a feature collection of polygons for an address in a 5 mile radius. I was hoping I could just get the center without having to update my SQL query and return it from the API.