Skip to content

Commit

Permalink
changed basemap for thumbnails to wikimedia, fixes #4459
Browse files Browse the repository at this point in the history
  • Loading branch information
gannebamm committed Jun 13, 2019
1 parent 21c9a1a commit 5aad4d5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion geonode/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -1780,7 +1780,8 @@ def get_geonode_catalogue_service():

# Choose thumbnail generator -- this is the default generator
THUMBNAIL_GENERATOR = "geonode.layers.utils.create_gs_thumbnail_geonode"
THUMBNAIL_GENERATOR_DEFAULT_BG = r"http://a.tile.openstreetmap.org/{z}/{x}/{y}.png"
#THUMBNAIL_GENERATOR_DEFAULT_BG = r"http://a.tile.openstreetmap.org/{z}/{x}/{y}.png"
THUMBNAIL_GENERATOR_DEFAULT_BG = r"https://maps.wikimedia.org/osm-intl/{z}/{x}/{y}.png"

# define the urls after the settings are overridden
if USE_GEOSERVER:
Expand Down

0 comments on commit 5aad4d5

Please sign in to comment.