Use CyclOSM as default map for French users
This commit is contained in:
parent
310141330f
commit
72f068ce76
2 changed files with 7 additions and 2 deletions
|
|
@ -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
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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'
|
||||||
|
},
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue