forked from MapComplete/MapComplete
Experimenting with using the overpass API directly
This commit is contained in:
parent
a0c1bc2137
commit
1476ab0407
6 changed files with 251 additions and 89 deletions
3
State.ts
3
State.ts
|
@ -59,7 +59,7 @@ export default class State {
|
|||
|
||||
public layerUpdater: UpdateFromOverpass;
|
||||
|
||||
public osmApiFeatureSource : OsmApiFeatureSource = new OsmApiFeatureSource();
|
||||
public osmApiFeatureSource : OsmApiFeatureSource ;
|
||||
|
||||
|
||||
public filteredLayers: UIEventSource<{
|
||||
|
@ -220,6 +220,7 @@ export default class State {
|
|||
|
||||
this.allElements = new ElementStorage();
|
||||
this.changes = new Changes();
|
||||
this.osmApiFeatureSource = new OsmApiFeatureSource(this.locationControl)
|
||||
|
||||
new PendingChangesUploader(this.changes, this.selectedElement);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue