Increase file size limit for tracks, configurable

(abrensch/brouter#295)
This commit is contained in:
Norbert Renner 2021-03-25 10:31:05 +01:00
parent 5f0f155e5f
commit dd34064e8c
2 changed files with 4 additions and 1 deletions

View file

@ -13,7 +13,7 @@ BR.tracksLoader = function (map, layersControl, routing, pois) {
layerOptions: BR.Track.getGeoJsonOptions(layersControl),
addToMap: false,
// File size limit in kb (default: 1024) ?
fileSizeLimit: 1024,
fileSizeLimit: BR.conf.trackSizeLimit || 1024 * 10,
shortcut: {
open: 79, // char code for 'o'
},