diff --git a/apps/viewer/dataloaders.js b/apps/viewer/dataloaders.js index 046b6e743..28919b539 100644 --- a/apps/viewer/dataloaders.js +++ b/apps/viewer/dataloaders.js @@ -98,11 +98,11 @@ function layersLoader() { }); } - // logs - function loadingLogs() { + // visualization + function visualization() { $CAMIC.store.findMark($D.params.slideId).then(function(layers) { - $D.logs = [...layers.map(covertToVisualization)]; - visualizationLayerItems($D.logs); + $D.visualizations = [...layers.map(covertToVisualization)]; + visualizationLayerItems($D.visualizations); }).catch(function(error) { // overlayers schema $UI.message.addError('Loading Logs is Error'); @@ -117,7 +117,7 @@ function layersLoader() { loadingRulerOverlayers(); loadingHeatmapOverlayers(); loadingComputerOverlayers(); - loadingLogs(); + visualization(); } }, 500); } diff --git a/apps/viewer/init.js b/apps/viewer/init.js index 4bf0baa22..bf8dffba9 100644 --- a/apps/viewer/init.js +++ b/apps/viewer/init.js @@ -1616,7 +1616,7 @@ function visualizationLayerItems(data) { var initialZommingData = []; // Get initial data - $D.logs.map((d) => { + $D.visualizations.map((d) => { if (d.states) { for (let i = 0; i < d.geometries.features.length; i++) { initialZommingData.push(roundToSecondDecimalPlace(d.states.zoom));