Changed loaded track to noninteractive

This commit is contained in:
Unknown 2019-10-01 20:41:28 +02:00
parent 1096467339
commit ee54d45790

View file

@ -2,7 +2,7 @@ BR.tracksLoader = function(map, layersControl) {
TracksLoader = L.Control.FileLayerLoad.extend({
options: {
layer: L.geoJson,
layerOptions: { style: { color: 'blue' } },
layerOptions: { style: { color: 'blue' }, interactive: false },
addToMap: false,
// File size limit in kb (default: 1024) ?
fileSizeLimit: 1024