From d72fec662175e49c1cd1bcb726877a7a759d478f Mon Sep 17 00:00:00 2001 From: Bart van den Eijnden Date: Tue, 16 Jul 2013 13:31:10 +0200 Subject: [PATCH] allow people to override the default transitionEffect --- src/script/plugins/WMSSource.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/script/plugins/WMSSource.js b/src/script/plugins/WMSSource.js index 3ca9ee22..34ba3a4e 100644 --- a/src/script/plugins/WMSSource.js +++ b/src/script/plugins/WMSSource.js @@ -540,7 +540,7 @@ gxp.plugins.WMSSource = Ext.extend(gxp.plugins.LayerSource, { opacity: ("opacity" in config) ? config.opacity : 1, buffer: ("buffer" in config) ? config.buffer : 1, dimensions: original.data.dimensions, - transitionEffect: singleTile ? 'resize' : null, + transitionEffect: ("transitionEffect" in config) ? config.transitionEffect : (singleTile ? 'resize' : null), minScale: config.minscale, maxScale: config.maxscale });