14 lines
454 B
HTML
14 lines
454 B
HTML
---
|
|
template: example.html
|
|
title: WMTS HiDPI example
|
|
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 class="row-fluid">
|
|
<div class="span12">
|
|
<div id="map" class="map"></div>
|
|
</div>
|
|
</div>
|