forked from MapComplete/MapComplete
		
	Small fixes
This commit is contained in:
		
							parent
							
								
									092a627b64
								
							
						
					
					
						commit
						95f421a6ae
					
				
					 5 changed files with 17 additions and 9 deletions
				
			
		|  | @ -110,7 +110,7 @@ Some advanced functions are available on <b>feat</b> as well: | |||
|                 let closestFeature = undefined; | ||||
|                 let closestDistance = undefined; | ||||
|                 for (const otherFeature of features) { | ||||
|                     if (otherFeature == feature) { | ||||
|                     if (otherFeature == feature || otherFeature.id == feature.id) { | ||||
|                         continue; // We ignore self
 | ||||
|                     } | ||||
|                     let distance = undefined; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue