forked from MapComplete/MapComplete
		
	First attempt to get the editor-layer-index working
This commit is contained in:
		
							parent
							
								
									e46ea51d44
								
							
						
					
					
						commit
						08175a747f
					
				
					 11 changed files with 268 additions and 74 deletions
				
			
		|  | @ -36,7 +36,6 @@ export class GeoOperations { | |||
|             return false; | ||||
|         } | ||||
| 
 | ||||
| 
 | ||||
|         if (feature.geometry.type === "Polygon" || feature.geometry.type === "MultiPolygon") { | ||||
| 
 | ||||
|             const poly = feature; | ||||
|  | @ -77,7 +76,7 @@ export class GeoOperations { | |||
| 
 | ||||
|         return false; | ||||
|     } | ||||
|     private static inside(pointCoordinate, feature): boolean { | ||||
|     public static inside(pointCoordinate, feature): boolean { | ||||
|         // ray-casting algorithm based on
 | ||||
|         // http://www.ecse.rpi.edu/Homepages/wrf/Research/Short_Notes/pnpoly.html
 | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue