Use tilePixelOption in wmts-hidpi example

This commit is contained in:
Éric Lemoine
2014-06-18 13:34:18 +02:00
parent 4e52224c12
commit 16c9d9bf09

View File

@@ -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,