Skip to content

Commit

Permalink
Comment out dummy themeLayerRestorer
Browse files Browse the repository at this point in the history
  • Loading branch information
manisandro committed Oct 25, 2023
1 parent 75fc553 commit 748ce6d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions js/appConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 748ce6d

Please sign in to comment.