Added centerAndZoomOnLine method.