forked from MapComplete/MapComplete
Add new statistics view
This commit is contained in:
parent
6f6a5d7092
commit
716fda39aa
10 changed files with 342 additions and 171 deletions
|
@ -171,7 +171,7 @@ export class LayerFilterPanel extends Combine {
|
|||
|
||||
ui.SetClass("mt-1")
|
||||
toShow.push(ui)
|
||||
actualTags.addCallback(tagsToFilterFor => {
|
||||
actualTags.addCallbackAndRun(tagsToFilterFor => {
|
||||
flayer.appliedFilters.data.set(filter.id, tagsToFilterFor)
|
||||
flayer.appliedFilters.ping()
|
||||
})
|
||||
|
@ -195,6 +195,7 @@ export class LayerFilterPanel extends Combine {
|
|||
const properties = new UIEventSource<any>({})
|
||||
for (const {name, type} of filter.fields) {
|
||||
const value = QueryParameters.GetQueryParameter("filter-" + filterConfig.id + "-" + name, "", "Value for filter " + filterConfig.id)
|
||||
|
||||
const field = ValidatedTextField.ForType(type).ConstructInputElement({
|
||||
value
|
||||
}).SetClass("inline-block")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue