forked from MapComplete/MapComplete
refactoring: Remove more obsoleted code, add copyright tab
This commit is contained in:
parent
f8d34648a0
commit
042d400dc4
20 changed files with 44 additions and 342 deletions
|
@ -11,13 +11,13 @@ export default class ContributorCount {
|
|||
private lastUpdate: Date = undefined
|
||||
|
||||
constructor(state: {
|
||||
bounds: Store<BBox>
|
||||
mapProperties: { bounds: Store<BBox> }
|
||||
dataIsLoading: Store<boolean>
|
||||
perLayer: ReadonlyMap<string, GeoIndexedStore>
|
||||
}) {
|
||||
this.perLayer = state.perLayer
|
||||
const self = this
|
||||
state.bounds.mapD(
|
||||
state.mapProperties.bounds.mapD(
|
||||
(bbox) => {
|
||||
self.update(bbox)
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue