forked from MapComplete/MapComplete
		
	Add point-only layer for nature reserves, mark point-only layer as old (so that geometries will show up)
This commit is contained in:
		
							parent
							
								
									b79be77686
								
							
						
					
					
						commit
						135219b5dc
					
				
					 4 changed files with 31 additions and 6 deletions
				
			
		|  | @ -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}) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue