| 
					
				 | 
			
			
				@@ -34,7 +34,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     return { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       id: null, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       entities: null, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      opened_entite_id: null, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      // opened_entite_id: null, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       canvas: null, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       ctx: null, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       pos : { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -53,7 +53,8 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   props: ['concernement', 'opened'], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   computed: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    ...mapState(ConcernementsStore,['concernementsByID']) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    ...mapState(ConcernementsStore,['concernementsByID']), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    ...mapState(ConcernementsStore,['opened_entite_id']) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   created () { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     // console.log(`ConcernementsMapItem ${this.concernement.id} created`, this.canvasMap, this.matterEngine); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -61,13 +62,13 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     this.entites = this.concernement.entites 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     this.entites_byid = this.concernement.entites_byid 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    console.log(`ConcernementsMapItem ${this.concernement.id} $route`, this.id, this.$route); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    if (this.$route.name === 'concernement' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      && parseInt(this.$route.params.id) === this.id 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      && typeof this.$route.params.eid !== "undefined") { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        console.log("we have an entity"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        this.opened_entite_id = parseInt(this.$route.params.eid); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    // console.log(`ConcernementsMapItem ${this.concernement.id} $route`, this.id, this.$route); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    // if (this.$route.name === 'concernement' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    //   && parseInt(this.$route.params.id) === this.id 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    //   && typeof this.$route.params.eid !== "undefined") { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    //     // console.log("we have an entity"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    //     this.opened_entite_id = parseInt(this.$route.params.eid); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    // } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     this.parsePoints() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     this.getSalientPoints() 
			 |