forked from MapComplete/MapComplete
		
	Fix length, update docs
This commit is contained in:
		
							parent
							
								
									62f0ae42e0
								
							
						
					
					
						commit
						c0fb852d41
					
				
					 2 changed files with 6 additions and 1 deletions
				
			
		|  | @ -15,7 +15,8 @@ export class GeoOperations { | |||
|         return newFeature; | ||||
|     } | ||||
|      | ||||
|     static centerpointCoordinates(feature: any){ | ||||
|     static centerpointCoordinates(feature: any): [number, number]{ | ||||
|         // @ts-ignore
 | ||||
|         return turf.center(feature).geometry.coordinates; | ||||
|     } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue