forked from MapComplete/MapComplete
		
	Geolocation: improve handle on click
This commit is contained in:
		
							parent
							
								
									dca17742b4
								
							
						
					
					
						commit
						2fb686b760
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -34,6 +34,7 @@ | |||
|   let gpsAvailable = geolocation.gpsAvailable | ||||
| 
 | ||||
|   function jumpToCurrentLocation() { | ||||
|     state.geolocationControl.handleClick() | ||||
|     const glstate = state.geolocation.geolocationState | ||||
|     if (glstate.currentGPSLocation.data !== undefined) { | ||||
|       const c: GeolocationCoordinates = glstate.currentGPSLocation.data | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue