change from "setCenter" to "panTo" for smooth animation