Merge config profiles as we now include all in standalone zip
This commit is contained in:
parent
7d0a4db059
commit
5cc99949fd
1 changed files with 21 additions and 34 deletions
|
|
@ -15,45 +15,11 @@
|
||||||
if (hostname.endsWith('brouter.de')) {
|
if (hostname.endsWith('brouter.de')) {
|
||||||
// online service (brouter.de) configuration
|
// online service (brouter.de) configuration
|
||||||
|
|
||||||
BR.conf.profiles = [
|
|
||||||
'trekking',
|
|
||||||
'fastbike',
|
|
||||||
'car-eco',
|
|
||||||
'car-fast',
|
|
||||||
'safety',
|
|
||||||
'shortest',
|
|
||||||
'trekking-ignore-cr',
|
|
||||||
'trekking-steep',
|
|
||||||
'trekking-noferries',
|
|
||||||
'trekking-nosteps',
|
|
||||||
'moped',
|
|
||||||
'rail',
|
|
||||||
'river',
|
|
||||||
'vm-forum-liegerad-schnell',
|
|
||||||
'vm-forum-velomobil-schnell',
|
|
||||||
'fastbike-lowtraffic',
|
|
||||||
'fastbike-asia-pacific',
|
|
||||||
'hiking-beta'
|
|
||||||
];
|
|
||||||
|
|
||||||
BR.conf.host = origin;
|
BR.conf.host = origin;
|
||||||
BR.conf.profilesUrl = origin + '/brouter/profiles2/';
|
BR.conf.profilesUrl = origin + '/brouter/profiles2/';
|
||||||
} else {
|
} else {
|
||||||
// desktop configuration
|
// desktop configuration
|
||||||
|
|
||||||
BR.conf.profiles = [
|
|
||||||
'trekking',
|
|
||||||
'fastbike',
|
|
||||||
'car-eco',
|
|
||||||
'car-fast',
|
|
||||||
'shortest',
|
|
||||||
'moped',
|
|
||||||
'vm-forum-liegerad-schnell',
|
|
||||||
'vm-forum-velomobil-schnell',
|
|
||||||
'fastbike-lowtraffic',
|
|
||||||
'fastbike-asia-pacific'
|
|
||||||
];
|
|
||||||
|
|
||||||
BR.conf.host = 'http://0.0.0.0:17777';
|
BR.conf.host = 'http://0.0.0.0:17777';
|
||||||
|
|
||||||
// Pre-loading selected profile disabled locally. Needs brouter-web to run on a
|
// Pre-loading selected profile disabled locally. Needs brouter-web to run on a
|
||||||
|
|
@ -64,6 +30,27 @@
|
||||||
//BR.conf.profilesUrl = 'file://YOUR_PATH_TO/profiles2/';
|
//BR.conf.profilesUrl = 'file://YOUR_PATH_TO/profiles2/';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
BR.conf.profiles = [
|
||||||
|
'trekking',
|
||||||
|
'fastbike',
|
||||||
|
'car-eco',
|
||||||
|
'car-fast',
|
||||||
|
'safety',
|
||||||
|
'shortest',
|
||||||
|
'trekking-ignore-cr',
|
||||||
|
'trekking-steep',
|
||||||
|
'trekking-noferries',
|
||||||
|
'trekking-nosteps',
|
||||||
|
'moped',
|
||||||
|
'rail',
|
||||||
|
'river',
|
||||||
|
'vm-forum-liegerad-schnell',
|
||||||
|
'vm-forum-velomobil-schnell',
|
||||||
|
'fastbike-lowtraffic',
|
||||||
|
'fastbike-asia-pacific',
|
||||||
|
'hiking-beta'
|
||||||
|
];
|
||||||
|
|
||||||
// Removes default base layers when 'true'. Useful for only having custom layers (see below).
|
// Removes default base layers when 'true'. Useful for only having custom layers (see below).
|
||||||
BR.conf.clearBaseLayers = false;
|
BR.conf.clearBaseLayers = false;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue