XYZ with Retina tiles example

Example of Retina / HiDPI mercator tiles (512x512px) available as XYZ.

The ol.source.XYZ must contain tilePixelRatio parameter. The tiles were prepared from a GeoTIFF file with MapTiler.

See the xyz-retina.js source for details on how this is done.

retina, hidpi, xyz, maptiler, @2x, devicePixelRatio