10 lines
380 B
HTML
10 lines
380 B
HTML
---
|
|
layout: example.html
|
|
title: High DPI WMTS
|
|
shortdesc: Example of a WMTS based HiDPI layer.
|
|
docs: >
|
|
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`.
|
|
tags: "hidpi, retina, wmts"
|
|
---
|
|
<div id="map" class="map"></div>
|