forked from MapComplete/MapComplete
Fix: tests
This commit is contained in:
parent
fbf2742f80
commit
2a73c43a5f
2 changed files with 6 additions and 5 deletions
|
@ -59,9 +59,10 @@ export default class SaveFeatureSourceToLocalStorage {
|
|||
layername: string,
|
||||
zoomlevel: number,
|
||||
features: FeatureSource,
|
||||
featureProperties: FeaturePropertiesStore
|
||||
featureProperties: FeaturePropertiesStore,
|
||||
maxCacheAge: number
|
||||
) {
|
||||
const storage = TileLocalStorage.construct<Feature[]>(backend, layername)
|
||||
const storage = TileLocalStorage.construct<Feature[]>(backend, layername, maxCacheAge)
|
||||
const singleTileSavers: Map<number, SingleTileSaver> = new Map<number, SingleTileSaver>()
|
||||
features.features.addCallbackAndRunD((features) => {
|
||||
const sliced = GeoOperations.slice(zoomlevel, features)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue