forked from MapComplete/MapComplete
Refactoring: Load availableMVTVectorLayers dynamically
This commit is contained in:
parent
2b3e3257fd
commit
a50c6b531e
14 changed files with 115 additions and 68 deletions
|
@ -1,5 +1,6 @@
|
|||
import ThemeConfig from "./ThemeConfig/ThemeConfig"
|
||||
import { WithImageState } from "./ThemeViewState/WithImageState"
|
||||
import { Store } from "../Logic/UIEventSource"
|
||||
|
||||
/**
|
||||
*
|
||||
|
@ -10,7 +11,7 @@ import { WithImageState } from "./ThemeViewState/WithImageState"
|
|||
* It ties up all the needed elements and starts some actors.
|
||||
*/
|
||||
export default class ThemeViewState extends WithImageState {
|
||||
constructor(layout: ThemeConfig, mvtAvailableLayers: Set<string>) {
|
||||
constructor(layout: ThemeConfig, mvtAvailableLayers: Store<Set<string>>) {
|
||||
super(layout, mvtAvailableLayers)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue