forked from MapComplete/MapComplete
		
	Lots of refactoring, first version of the import helper
This commit is contained in:
		
							parent
							
								
									612b8136ad
								
							
						
					
					
						commit
						3402ac0954
					
				
					 54 changed files with 1104 additions and 315 deletions
				
			
		|  | @ -1,8 +1,3 @@ | |||
| /*** | ||||
|  * Saves all the features that are passed in to localstorage, so they can be retrieved on the next run | ||||
|  * | ||||
|  * Technically, more an Actor then a featuresource, but it fits more neatly this ay | ||||
|  */ | ||||
| import FeatureSource, {Tiled} from "../FeatureSource"; | ||||
| import {Tiles} from "../../../Models/TileRange"; | ||||
| import {IdbLocalStorage} from "../../Web/IdbLocalStorage"; | ||||
|  | @ -13,6 +8,11 @@ import SimpleFeatureSource from "../Sources/SimpleFeatureSource"; | |||
| import FilteredLayer from "../../../Models/FilteredLayer"; | ||||
| import Loc from "../../../Models/Loc"; | ||||
| 
 | ||||
| /*** | ||||
|  * Saves all the features that are passed in to localstorage, so they can be retrieved on the next run | ||||
|  * | ||||
|  * Technically, more an Actor then a featuresource, but it fits more neatly this ay | ||||
|  */ | ||||
| export default class SaveTileToLocalStorageActor { | ||||
|     private readonly visitedTiles: UIEventSource<Map<number, Date>> | ||||
|     private readonly _layer: LayerConfig; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue