Skip to content

Commit

Permalink
use relative scheme url for leaflet tiles
Browse files Browse the repository at this point in the history
  • Loading branch information
submarcos committed Nov 29, 2018
1 parent 2a69e8d commit dfcf473
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions geotrek/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -433,8 +433,8 @@ def gettext_noop(s):
LEAFLET_CONFIG = {
'SRID': 3857,
'TILES': [
('OSM', 'http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', '(c) OpenStreetMap Contributors'),
('OSM N&B', 'http://{s}.tiles.wmflabs.org/bw-mapnik/{z}/{x}/{y}.png', '(c) OpenStreetMap Contributors'),
('OSM', '//{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', '(c) OpenStreetMap Contributors'),
('OSM N&B', '//{s}.tiles.wmflabs.org/bw-mapnik/{z}/{x}/{y}.png', '(c) OpenStreetMap Contributors'),
],
'TILES_EXTENT': SPATIAL_EXTENT,
# Extent in API projection (Leaflet view default extent)
Expand Down

0 comments on commit dfcf473

Please sign in to comment.