forked from MapComplete/MapComplete
The overpassfeaturesource now only fetches layers that must be updated, fix #599
This commit is contained in:
parent
9b88478804
commit
00e5ce0b02
7 changed files with 56 additions and 10 deletions
|
@ -12,6 +12,9 @@ import LayoutConfig from "../../../Models/ThemeConfig/LayoutConfig";
|
|||
import {Or} from "../../Tags/Or";
|
||||
import {TagsFilter} from "../../Tags/TagsFilter";
|
||||
|
||||
/**
|
||||
* If a tile is needed (requested via the UIEventSource in the constructor), will download the appropriate tile and pass it via 'handleTile'
|
||||
*/
|
||||
export default class OsmFeatureSource {
|
||||
public readonly isRunning: UIEventSource<boolean> = new UIEventSource<boolean>(false)
|
||||
public readonly downloadedTiles = new Set<number>()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue