I am using google map api in javascript, i need to change zoom and center by the value coming from restful service and i can do that with setCenter and setZoom functions.
But the problem is that, map is reloading and my boss want it to focus that location with an animation not by reloading map is there anyway for doing so?
The method setCenter
reloads the map. For disabling map reloading and enabling the animation, use the panTo
method: Map.panTo Developers Documentation
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With