forked from MapComplete/MapComplete
Fix metatagging and calculated tags in heterogenous data settings
This commit is contained in:
parent
93296d5378
commit
d547b9f968
14 changed files with 374 additions and 246 deletions
12
Logic/FeatureSource/DummyFeatureSource.ts
Normal file
12
Logic/FeatureSource/DummyFeatureSource.ts
Normal file
|
@ -0,0 +1,12 @@
|
|||
import FeatureSource from "./FeatureSource";
|
||||
import {UIEventSource} from "../UIEventSource";
|
||||
|
||||
export default class DummyFeatureSource implements FeatureSource{
|
||||
public readonly features: UIEventSource<{ feature: any; freshness: Date }[]>;
|
||||
public readonly name: string = "Dummy (static) feature source";
|
||||
|
||||
constructor(features: UIEventSource<{ feature: any; freshness: Date }[]>) {
|
||||
this.features = features;
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue