From 127c00e1eaf6986dc7e2c0edeab00193f1841dcf Mon Sep 17 00:00:00 2001 From: Frederic Junod Date: Fri, 2 Nov 2012 15:52:34 +0100 Subject: [PATCH] Use jpeg tiles for background layer --- examples/wms-custom-proj.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/examples/wms-custom-proj.js b/examples/wms-custom-proj.js index d6da12b1e4..9be04b0479 100644 --- a/examples/wms-custom-proj.js +++ b/examples/wms-custom-proj.js @@ -28,7 +28,10 @@ var layers = new ol.Collection([ '' + 'Pixelmap 1:1000000 / geo.admin.ch')], crossOrigin: null, - params: {'LAYERS': 'ch.swisstopo.pixelkarte-farbe-pk1000.noscale'}, + params: { + 'LAYERS': 'ch.swisstopo.pixelkarte-farbe-pk1000.noscale', + 'FORMAT': 'image/jpeg' + }, projection: epsg21781, extent: extent })