How can I move the camera from one loc to another loc ? I have checked the API but I couldn't find what I want beside the setCenter
method which directly sets the center to the given location but I want to a smooth transtition, not an instant center change.
http://code.google.com/apis/maps/documentation/javascript/reference.html#Map
Method panTo
.
Changes the center of the map to the given LatLng. If the change is less than both the width and height of the map, the transition will be smoothly animated.
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