From c86004f6e4c3b1417f3ba1103243616fc7cf1fec Mon Sep 17 00:00:00 2001 From: John van Breda Date: Wed, 4 Dec 2019 09:36:31 +0000 Subject: [PATCH] Corrects default as switching to more flexible otherBaseLayerConfig --- js/jquery.indiciaMapPanel.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/jquery.indiciaMapPanel.js b/js/jquery.indiciaMapPanel.js index 4d83a4db..57186333 100644 --- a/js/jquery.indiciaMapPanel.js +++ b/js/jquery.indiciaMapPanel.js @@ -2677,7 +2677,7 @@ var destroyAllFeatures; $.each(this.settings.otherBaseLayerConfig, function(i, item) { var params = item.params; var layer; - // Pad to max 4 params, just so the function call can be the same whatever. + // Pad to max 4 params, just so the function call can be the same whatever. while (params.length < 4) { params.push(null); } @@ -3314,7 +3314,7 @@ jQuery.fn.indiciaMapPanel.defaults = { os_api_key: '', proxy: '', presetLayers: [], - tilecacheLayers: [], + otherBaseLayerConfig: [], indiciaWMSLayers: {}, indiciaWFSLayers : {}, layers: [],