Helper function that creates a default "pan to" handler. The default pan to handler will first restrict the pan to the view port, then clamp the pan to the boundaries, and then pan to the destination.
createHandlerChain to create your own custom pan handler pipeline. (you can also use this function as a part of your own custom pan handler pipeline)
Helper function that creates a default "pan to" handler. The default pan to handler will first restrict the pan to the view port, then clamp the pan to the boundaries, and then pan to the destination.