Skip to content

Commit

Permalink
Fix popup order to enable cluster popups
Browse files Browse the repository at this point in the history
  • Loading branch information
henhuy committed May 15, 2024
1 parent 65068f3 commit 0b40cc9
Showing 1 changed file with 32 additions and 32 deletions.
64 changes: 32 additions & 32 deletions config/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -494,6 +494,38 @@ def __getitem__(self, item): # noqa: D105, ANN001, ANN204
]

MAP_ENGINE_POPUPS = [
setup.Popup(
"wind",
popup_at_default_layer=True,
),
setup.Popup(
"pvground",
popup_at_default_layer=True,
),
setup.Popup(
"pvroof",
popup_at_default_layer=True,
),
setup.Popup(
"hydro",
popup_at_default_layer=True,
),
setup.Popup(
"biomass",
popup_at_default_layer=True,
),
setup.Popup(
"combustion",
popup_at_default_layer=True,
),
setup.Popup(
"gsgk",
popup_at_default_layer=True,
),
setup.Popup(
"storage",
popup_at_default_layer=True,
),
setup.Popup(
"municipality",
popup_at_default_layer=False,
Expand Down Expand Up @@ -530,36 +562,4 @@ def __getitem__(self, item): # noqa: D105, ANN001, ANN204
"batteries_capacity_statusquo",
],
),
setup.Popup(
"wind",
popup_at_default_layer=True,
),
setup.Popup(
"pvground",
popup_at_default_layer=True,
),
setup.Popup(
"pvroof",
popup_at_default_layer=True,
),
setup.Popup(
"hydro",
popup_at_default_layer=True,
),
setup.Popup(
"biomass",
popup_at_default_layer=True,
),
setup.Popup(
"combustion",
popup_at_default_layer=True,
),
setup.Popup(
"gsgk",
popup_at_default_layer=True,
),
setup.Popup(
"storage",
popup_at_default_layer=True,
),
]

0 comments on commit 0b40cc9

Please sign in to comment.