Add worldwide monolingual layer as default when language matches (#205)

This commit is contained in:
Norbert Renner 2019-06-14 18:04:05 +02:00
parent 5d0131e7f8
commit 9ea36c6f19
2 changed files with 36 additions and 1 deletions

View file

@ -2,12 +2,18 @@ BR.confLayers = {};
BR.confLayers.defaultBaseLayers = [
'standard',
'osm-mapnik-german_style',
'OpenTopoMap',
'Stamen.Terrain',
'Esri.WorldImagery'
];
// worldwide monolingual layers to add as default when browser language matches
BR.confLayers.languageDefaultLayers = [
'osm-mapnik-german_style',
'osmfr',
'1021' // sputnik.ru
];
BR.confLayers.defaultOverlays = [
'HikeBike.HillShading',
'Waymarked_Trails-Cycling',