Commit 5cea4447 by Corey Koval

Less destructive map clearing

parent 102ffe72
...@@ -300,7 +300,10 @@ ...@@ -300,7 +300,10 @@
} }
function clearOld() { function clearOld() {
viewer.dataSources.removeAll(true); viewer.dataSources.remove(receiversDataSource, true);
viewer.dataSources.remove(aoiDataSource, true);
viewer.dataSources.remove(transmittersDataSource, true);
// viewer.dataSources.removeAll(true);
// console.log("Cleared old"); // console.log("Cleared old");
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment