Skip to content

Commit

Permalink
[Fixes GeoNode#10204] restore mapstore catalog settings (GeoNode#10205)…
Browse files Browse the repository at this point in the history
… (GeoNode#10206)

Co-authored-by: mattiagiupponi <[email protected]>
  • Loading branch information
2 people authored and ridoo committed Sep 18, 2023
1 parent 8d7de88 commit d5ec478
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions geonode/local_settings.py.geoserver.sample
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,14 @@ if GEONODE_CLIENT_LAYER_PREVIEW_LIBRARY == 'mapstore':

GEONODE_CATALOGUE_SERVICE = get_geonode_catalogue_service()

MAPSTORE_CATALOGUE_SERVICES = {}

MAPSTORE_CATALOGUE_SELECTED_SERVICE = ""

if GEONODE_CATALOGUE_SERVICE:
MAPSTORE_CATALOGUE_SERVICES[list(GEONODE_CATALOGUE_SERVICE.keys())[0]] = GEONODE_CATALOGUE_SERVICE[list(GEONODE_CATALOGUE_SERVICE.keys())[0]]
MAPSTORE_CATALOGUE_SELECTED_SERVICE = list(GEONODE_CATALOGUE_SERVICE.keys())[0]

DEFAULT_MS2_BACKGROUNDS = [
{
"type": "tileprovider",
Expand Down

0 comments on commit d5ec478

Please sign in to comment.