Use CyclOSM as default map for French users

This commit is contained in:
Phyks (Lucas Verney) 2019-10-06 15:24:25 +02:00
parent 310141330f
commit 72f068ce76
2 changed files with 7 additions and 2 deletions

View file

@ -10,7 +10,7 @@ BR.confLayers.defaultBaseLayers = [
// worldwide monolingual layers to add as default when browser language matches // worldwide monolingual layers to add as default when browser language matches
BR.confLayers.languageDefaultLayers = [ BR.confLayers.languageDefaultLayers = [
'osm-mapnik-german_style', 'osm-mapnik-german_style',
'osmfr', 'cyclosm',
'1021' // sputnik.ru '1021' // sputnik.ru
]; ];

View file

@ -227,6 +227,11 @@ BR.confLayers.getPropertyOverrides = function() {
'mapaszlakow-routes': { 'mapaszlakow-routes': {
'nameShort': 'Routes PL', 'nameShort': 'Routes PL',
'mapUrl': 'http://mapaszlakow.eu/#{zoom}/{lat}/{lon}' 'mapUrl': 'http://mapaszlakow.eu/#{zoom}/{lat}/{lon}'
} },
'cyclosm': {
'language_code': 'fr',
'nameShort': 'CyclOSM',
'mapUrl': 'https://dev.{s}.tile.openstreetmap.fr/cyclosm/{z}/{x}/{y}.png'
},
}; };
}; };