forked from MapComplete/MapComplete
Fix dependency injection of refactoring
This commit is contained in:
parent
f0675a026b
commit
39e6cdfda4
4 changed files with 25 additions and 15 deletions
|
@ -271,6 +271,7 @@ export default class MapState extends UserRelatedState {
|
|||
let gpsLayerDef: FilteredLayer = this.filteredLayers.data.filter(l => l.layerDef.id === "gps_location_history")[0]
|
||||
if (gpsLayerDef !== undefined) {
|
||||
this.historicalUserLocations = new SimpleFeatureSource(gpsLayerDef, Tiles.tile_index(0, 0, 0), features);
|
||||
this.changes.setHistoricalUserLocations(this.historicalUserLocations)
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue