forked from MapComplete/MapComplete
Invalidate cache if a point has been deleted or changed geometry. Fix #865; review cache retention times and disable cache for external geojson datasets, fix #1660
This commit is contained in:
parent
adaff94dbd
commit
a399260bf0
6 changed files with 68 additions and 39 deletions
|
|
@ -27,7 +27,7 @@ export default class LayoutSource extends FeatureSourceMerger {
|
|||
private readonly supportsForceDownload: UpdatableFeatureSource[]
|
||||
|
||||
private readonly fromCache: Map<string, LocalStorageFeatureSource>
|
||||
private static readonly fromCacheZoomLevel = 15
|
||||
public static readonly fromCacheZoomLevel = 15
|
||||
constructor(
|
||||
layers: LayerConfig[],
|
||||
featureSwitches: FeatureSwitchState,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue