forked from MapComplete/MapComplete
		
	Add possibility to upload your travelled track to OSM
This commit is contained in:
		
							parent
							
								
									9424364f3f
								
							
						
					
					
						commit
						312db3ad50
					
				
					 11 changed files with 208 additions and 44 deletions
				
			
		|  | @ -69,7 +69,7 @@ export default class MapState extends UserRelatedState { | |||
|     public currentUserLocation: SimpleFeatureSource; | ||||
| 
 | ||||
|     /** | ||||
|      * All previously visited points | ||||
|      * All previously visited points, with their metadata | ||||
|      */ | ||||
|     public historicalUserLocations: SimpleFeatureSource; | ||||
|     /** | ||||
|  | @ -77,6 +77,11 @@ export default class MapState extends UserRelatedState { | |||
|      * Time in seconds | ||||
|      */ | ||||
|     public gpsLocationHistoryRetentionTime = new UIEventSource(7 * 24 * 60 * 60, "gps_location_retention") | ||||
|     /** | ||||
|      * A featureSource containing a single linestring which has the GPS-history of the user. | ||||
|      * However, metadata (such as when every single point was visited) is lost here (but is kept in `historicalUserLocations`. | ||||
|      * Note that this featureSource is _derived_ from 'historicalUserLocations' | ||||
|      */ | ||||
|     public historicalUserLocationsTrack: FeatureSourceForLayer & Tiled; | ||||
| 
 | ||||
|     /** | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue