This example demonstrates a Map Definition being consumed as a XYZ layer with OpenLayers.
The XYZ tileset is configured for HiDPI/Retina output. To consume this properly in OpenLayers you must configure the XYZ source with an appropriate tilePixelRatio value
An OpenStreetMap layer is included as a backdrop for context
For maximum visual fidelity, your Map Definition should be in WGS84.PseudoMercatorSample not loading? Check that the required resources have been loaded