forked from MapComplete/MapComplete
		
	Chore: regenerate docs, lint
This commit is contained in:
		
							parent
							
								
									7b41b617f6
								
							
						
					
					
						commit
						bad0edd4b0
					
				
					 201 changed files with 6044 additions and 1750 deletions
				
			
		| 
						 | 
				
			
			@ -52,7 +52,7 @@
 | 
			
		|||
  if (maxDistanceInMeters) {
 | 
			
		||||
    onDestroy(
 | 
			
		||||
      mla.location.addCallbackD((newLocation) => {
 | 
			
		||||
        const l : [number, number] = [newLocation.lon, newLocation.lat]
 | 
			
		||||
        const l: [number, number] = [newLocation.lon, newLocation.lat]
 | 
			
		||||
        const c: [number, number] = [initialCoordinate.lon, initialCoordinate.lat]
 | 
			
		||||
        const d = GeoOperations.distanceBetween(l, c)
 | 
			
		||||
        if (d <= maxDistanceInMeters) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue