UNPKG

380 BHTMLView Raw
1---
2layout: example.html
3title: High DPI WMTS
4shortdesc: Example of a WMTS based HiDPI layer.
5docs: >
6 The WMTS source has a `tilePixelRatio` option. A HiDPI capable WMTS could provide tiles with 512x512 pixel tiles, but use them in a 256x256 pixel tile grid. In this case `tilePixelRatio` needs to be set to `2`.
7tags: "hidpi, retina, wmts"
8---
9<div id="map" class="map"></div>