From 8058a800ed102d0fe7deccfcb9020accd7425ac9 Mon Sep 17 00:00:00 2001 From: Frederic Junod Date: Mon, 25 Jun 2012 14:56:40 +0200 Subject: [PATCH] mobile-wmts-vienna example: requestEncoding already set in defaults --- examples/mobile-wmts-vienna.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/mobile-wmts-vienna.js b/examples/mobile-wmts-vienna.js index 04cd9b4148..01de358fc1 100644 --- a/examples/mobile-wmts-vienna.js +++ b/examples/mobile-wmts-vienna.js @@ -163,13 +163,13 @@ var map; var doc = request.responseText, caps = format.read(doc); fmzk = format.createLayer(caps, OpenLayers.Util.applyDefaults( - {layer:"fmzk", requestEncoding:"REST", transitionEffect:"resize"}, defaults + {layer:"fmzk", transitionEffect:"resize"}, defaults )); aerial = format.createLayer(caps, OpenLayers.Util.applyDefaults( - {layer:"lb", requestEncoding:"REST", transitionEffect:"resize"}, defaults + {layer:"lb", transitionEffect:"resize"}, defaults )); labels = format.createLayer(caps, OpenLayers.Util.applyDefaults( - {layer:"beschriftung", requestEncoding:"REST", className:"nofade", isBaseLayer: false}, + {layer:"beschriftung", className:"nofade", isBaseLayer: false}, defaults )); map.addLayers([fmzk, aerial, labels]);