Example of a XYZ source in EPSG:4326 using Esri 512x512 tiles.
See the xyz-esri-4326-512.js source for details on how this is done.