Skip to content

Commit

Permalink
Integrate new basemap dataviz
Browse files Browse the repository at this point in the history
  • Loading branch information
henhuy committed Apr 25, 2024
1 parent 5db0265 commit 5197bca
Show file tree
Hide file tree
Showing 4 changed files with 80 additions and 97 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ and this project tries to adhere to [Semantic Versioning](https://semver.org/spe

## [Unreleased]
### Added
- basemap for data visualization
- light and dark basemaps for data visualization
- coupling of duplicated map panel controls
- dependabot
- key results for wind, pv ground and pv roof settings panels
Expand Down
18 changes: 0 additions & 18 deletions config/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -282,24 +282,6 @@ def __getitem__(self, item): # noqa: D105, ANN001, ANN204
MAP_ENGINE_Y_OFFSET = 1 # Defines how many tiles to the bottom are added at first level
MAP_ENGINE_MAX_DISTILLED_ZOOM = 13

MAP_ENGINE_BASEMAPS = [
setup.MaptilerBasemap(
"satellite",
source_id="satellite",
type="raster",
description="Satellite basemap view",
image="django_mapengine/images/layer_ctrl_satellite.svg",
),
setup.MaptilerBasemap(
"dataviz",
source_id="dataviz",
type="raster",
format="png",
description="Data visualization view",
image="django_mapengine/images/layer_ctrl_default.svg",
),
]

MAP_ENGINE_IMAGES = [
setup.MapImage("wind", "images/icons/map_wind.png"),
setup.MapImage("pv", "images/icons/map_pv.png"),
Expand Down
Loading

0 comments on commit 5197bca

Please sign in to comment.