From 16c9d9bf099726d15778aadbd0d23d32650bf137 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Wed, 18 Jun 2014 13:34:18 +0200 Subject: [PATCH] Use tilePixelOption in wmts-hidpi example --- examples/wmts-hidpi.js | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/wmts-hidpi.js b/examples/wmts-hidpi.js index 6ef672a9dd..a89a1fbe5a 100644 --- a/examples/wmts-hidpi.js +++ b/examples/wmts-hidpi.js @@ -26,6 +26,7 @@ var source = new ol.source.WMTS({ extent: [977844.377599999, 5837774.6617, 1915609.8654, 6295560.8122], projection: 'EPSG:3857', layer: hiDPI ? 'bmaphidpi' : 'geolandbasemap', + tilePixelRatio: hiDPI ? 2 : 1, style: 'normal', matrixSet: 'google3857', urls: urls,