Skip to content

Commit

Permalink
Keep legacy env var MAP_ENGINE_REGIONS in base.py
Browse files Browse the repository at this point in the history
  • Loading branch information
nesnoj committed Nov 5, 2024
1 parent 6393d38 commit fcfa18f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,8 @@ def __getitem__(self, item): # noqa: D105, ANN001, ANN204
setup.MapImage("wind_hatch", "images/map_wind_hatch.png"),
setup.MapImage("pv_ground_hatch", "images/map_pv_ground_hatch.png"),
]
# Legacy for distilling, see https://github.com/rl-institut/django-mapengine/issues/24
MAP_ENGINE_REGIONS = []

MAP_ENGINE_HOVER_LAYERS = ["municipality", "municipality-label"]

Expand Down

0 comments on commit fcfa18f

Please sign in to comment.