From 748ce6d06a759327eeaa7aec6c761cd9cc2887f2 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Wed, 25 Oct 2023 23:37:57 +0200 Subject: [PATCH] Comment out dummy themeLayerRestorer --- js/appConfig.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/js/appConfig.js b/js/appConfig.js index 1602a9cc0..aba36da84 100644 --- a/js/appConfig.js +++ b/js/appConfig.js @@ -147,7 +147,8 @@ export default { }, actionLogger: (action) => { /* Do something with action, i.e. Piwik/Mamoto event tracking */ - }, + } + /* themeLayerRestorer: (missingLayers, theme, callback) => { // Invoked for layers specified in the l url parameter which are missing in the specified theme // Could be used to query a search provider for the missing theme layers @@ -160,7 +161,7 @@ export default { const newLayerNames = {}; callback(newLayers, newLayerNames); - } + }*/ /* externalLayerRestorer: (externalLayers, themes, callback) => { // Optional function to handle restoring of external layers from the l URL parameter // If omitted, the default handler is used which downloads capabilities for each service to restore the layer