diff --git a/examples/xyz-retina.html b/examples/xyz-retina.html new file mode 100644 index 0000000000..43631196d9 --- /dev/null +++ b/examples/xyz-retina.html @@ -0,0 +1,52 @@ + + +
+ + + + + + + +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.
+