Add an example for animateCamera with the specified duration