diff --git a/nunaliit2-js/src/main/js/nunaliit2/n2.mapAndControls.js b/nunaliit2-js/src/main/js/nunaliit2/n2.mapAndControls.js
index <HASH>..<HASH> 100644
--- a/nunaliit2-js/src/main/js/nunaliit2/n2.mapAndControls.js
+++ b/nunaliit2-js/src/main/js/nunaliit2/n2.mapAndControls.js
@@ -5606,7 +5606,6 @@ var MapAndControls = $n2.Class({
 		};
 			
 		// Prepare features to be added to layer
-        var featuresToAdd = [];
         state.added.forEach(function(f){
 			if( mustReproject ){
 	            var geom = f.geometry;
nunaliit2-js: Fix issue where map layer from model is not redrawn
correctly when filter is changed.