Add point-only layer for nature reserves, mark point-only layer as old (so that geometries will show up)

This commit is contained in:
Pieter Vander Vennet 2021-07-23 19:12:13 +02:00
parent b79be77686
commit 135219b5dc
4 changed files with 31 additions and 6 deletions

View file

@ -175,7 +175,7 @@ export default class GeoJsonSource implements FeatureSource {
let freshness: Date = time;
if (feature.properties["_last_edit:timestamp"] !== undefined) {
freshness = new Date(feature["_last_edit:timestamp"])
freshness = new Date(feature.properties["_last_edit:timestamp"])
}
newFeatures.push({feature: feature, freshness: freshness})