Switch to using the new XYZ layer class on OL 2.8.