Hi all,
In the javascript Google Maps api we could use this.map.fitBounds(myLatLngBounds);
to make the view center a bounds region (e.g. created from all markers).
How can we achieve the same result in the native Google Maps api?
My situation:
I have a map with a number of markers created with this.map.addMarkerClusterSync(clusterOptions);
Now I want to center and fit the view to the region of this markerCluster markers. How can I do that?
Thank you for you help.