rename WMS function to be StartEnd specific
generalise projectLayer code to include StartEnd