forked from MapComplete/MapComplete
		
	Refactoring of ExtraFunctions
This commit is contained in:
		
							parent
							
								
									107a4934da
								
							
						
					
					
						commit
						fc70909005
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -132,7 +132,7 @@ class ClosestNObjectFunc implements ExtraFunction { | |||
|     _doc = "Given either a list of geojson features or a single layer name, gives the n closest objects which are nearest to the feature (excluding the feature itself). In the case of ways/polygons, only the centerpoint is considered. " + | ||||
|         "Returns a list of `{feat: geojson, distance:number}` the empty list if nothing is found (or not yet loaded)\n\n" + | ||||
|         "If a 'unique tag key' is given, the tag with this key will only appear once (e.g. if 'name' is given, all features will have a different name)" | ||||
|     _args: ["list of features or layer name or '*' to get all features", "amount of features", "unique tag key (optional)", "maxDistanceInMeters (optional)"] | ||||
|     _args =  ["list of features or layer name or '*' to get all features", "amount of features", "unique tag key (optional)", "maxDistanceInMeters (optional)"] | ||||
| 
 | ||||
|     /** | ||||
|      * Gets the closes N features, sorted by ascending distance. | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue