I always used to work with panTo instead of setCenter to recenter a Google map because I read somewhere that using panTo
is not being counted as a new daily usage of map (to consider the daily limitation of using google map on my website) but I don't remember where I read that.
Now I am using fitBounds and I am not sure if this method regenerates a new map too?
How can I find out which methods (e.g. setZoom
or fitBounds
) produce a new map? Does fitBounds
?